lkml.org 
[lkml]   [2003]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [RFC][PATCH] SCHED_ISO for interactivity
    Date
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Saturday 12 July 2003 17:39, Con Kolivas wrote:
    [SNIP]
    > @@ -2153,6 +2208,9 @@ asmlinkage long sys_sched_get_priority_m
    > case SCHED_NORMAL:
    > ret = 0;
    > break;
    > + case SCHED_ISO:
    > + ret = 0;
    > + break;
    > }
    > return ret;
    > }
    > @@ -2175,6 +2233,8 @@ asmlinkage long sys_sched_get_priority_m
    > break;
    > case SCHED_NORMAL:
    > ret = 0;
    > + case SCHED_ISO:
    > + ret = 0;
    > }
    > return ret;
    > }

    As far, as I can see, this would do the very same
    things, with reduced codesize:

    case SCHED_NORMAL:
    + case SCHED_ISO:
    ret = 0;
    break;
    }
    return ret;
    }

    and this:

    break;
    case SCHED_NORMAL:
    + case SCHED_ISO:
    ret = 0;
    }
    return ret;
    }

    - --
    Regards Michael Buesch
    http://www.8ung.at/tuxsoft
    18:22:51 up 49 min, 2 users, load average: 2.14, 2.32, 2.31

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)
    iD8DBQE/EDbdoxoigfggmSgRAgFpAJ9Iz71qcgIFEM8mYIY9Xrw9Yn5BfQCeLZf3
    5h47aU7gAzFYYrdLVS0RVZ8=
    =drFI
    -----END PGP SIGNATURE-----
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:46    [W:2.412 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site