CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2015/03/20 17:04:07

Modified files:
        usr.bin/sort   : sort.c 

Log message:
Use the hw.usermem sysctl to determine the amount user (non-kernel)
memory instead of sysconf(_SC_PHYS_PAGES) (which also counts pages
wired by the kernel).  Don't try to use a memory buffer larger than
the datasize hard resource limit.  Adapted from a diff by Andre Smagin.

Reply via email to