a serious error in sched_ule.c?

From: Bin Ren (br260_at_cam.ac.uk)
Date: 03/09/04

  • Next message: Roman Kurakin: "Re: HDD questions"
    To: freebsd-current@freebsd.org
    Date: 09 Mar 2004 12:37:16 +0000
    
    

    Hi, all:

    I've been reading sched_ule.c and seem to find a serious error:

    in 'sched_slice()':

             * Rationale:
             * KSEs in interactive ksegs get the minimum slice so that we
             * quickly notice if it abuses its advantage.

    Then, there is:

            if (!SCHED_INTERACTIVE(kg)) {
                    .....
                    .....
            } else
                    ke->ke_slice = SCHED_SLICE_INTERACTIVE;

    Then, at the beginning of the file, there is:

    #define SCHED_SLICE_INTERACTIVE (slice_max)

    (slice_max) for interactive KSEs???? Either this is a serious mistake or
    I'm seriously missing sth here.

    Thanks,
    Bin
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Roman Kurakin: "Re: HDD questions"

    Relevant Pages

    • a serious error in sched_ule.c?
      ... I've been reading sched_ule.c and seem to find a serious error: ... Either this is a serious mistake or ... I'm seriously missing sth here. ... To unsubscribe, ...
      (freebsd-current)
    • Re: [SLE] Keyboard Layout
      ... Please do us all a big favor and just unsubscribe. ... > I do ACTUALLY start reading almost every book from the back -- the INDEX. ... >>> Dear Ken Schneider, ... Also check the archives at http://lists.suse.com ...
      (SuSE)
    • Re: conflict help please
      ... Well, Dave, all I can say is you and I are reading the same thread. ... >A few months back, I sold a stamp - US Scott number 113, I think. ... I refunded him the full purchase price, ... >respond to the mistake decides how the mistake will get fixed. ...
      (rec.collecting.coins)
    • Re: Does everyone new to XP feel as dumb as I do?
      ... Norton wanted to classify me as a virus! ... and it takes a lot of reading to understand it all. ... These newsgroups ... I've already made every mistake you've made, ...
      (microsoft.public.windowsxp.newusers)
    • Re: [OT] C++ programming: keeping count of data items read from file
      ... No offence ... the mechanics of reading of lines from a file are concerned. ... data, btw. Seismic data. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)