Search results

  1. J

    vnode read/write operation info

    Hey, I'm working with a stackable filesystem and I would like to capture read/write information as users make read/write accesses to the filesystem. In which function, or generally where, can I get access to the number of bytes being read/written and from/to which block # in the inode...
  2. J

    Writing a scheduler

    Hi, I'm trying to write my own custom scheduler. I'm having trouble knowing where to declare my code and what's the best way to "stick it into the kernel". 1. I have a global: custom_scheduler = 0, which the user can toggle 2. in kern/kern_switch.c: runq_choose() { ... if(custom_scheduler)...
  3. J

    [beginner]-lottery scheduling

    Thanks, that code makes the lottery very clear to me!
  4. J

    [beginner]-lottery scheduling

    I guess not directly, but I'm trying to implement the lottery scheduling in FreeBSD...
  5. J

    [beginner]-lottery scheduling

    Hi, I'm just trying to wrap my head around the implementation of a very basic lottery scheduling. I understand that each process can be assigned some number of tickets, but I don't understand how a winning ticket gets mapped to a certain process. E.g. Proc. A has 5 tickets Proc. B has...
Back
Top