cvs commit: src/sys/kern vfs_vnops.c

Bruce Evans bde at FreeBSD.org
Sat Jan 5 00:54:52 PST 2008


bde         2008-01-05 08:54:52 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
  In sequential_heuristic():
  - spell 16384 as 16384 and not as BKVASIZE.  16384 is (not quite) just a
    magic size that works well in practice.  BKVASIZE should be MAXBSIZE
    (65536), but is 16384 because i386's don't have enough kva for it to
    be MAXBSIZE; 16384 works (not so well) for it for much the same reasons
    that it works well in the heuristic.
  - expand and/or add comments about this and other details.
  - don't explicitly inline this function.
  - fix some other style bugs.
  
  Revision  Changes    Path
  1.255     +20 -13    src/sys/kern/vfs_vnops.c


More information about the cvs-all mailing list