tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
averunnable.fscale set more than once ?
Hi,
While looking into kernel sources, i noticed that the global
averunnable.fscale variable is set more than once with the same value
FSCALE.
./sys/miscfs/kernfs/kernfs_vnops.c:471: averunnable.fscale = FSCALE;
./sys/miscfs/procfs/procfs_linux.c:327: averunnable.fscale = FSCALE;
./sys/uvm/uvm_init.c:97: averunnable.fscale = FSCALE;
Could kernfs and procfs assignments be safely deleted ? They should
not be neccessary as this variable is already set in uvm_init(), which
is called early at boot.
Thanks.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index