move uvm reserve enforcement to pmemrange

2011-07-03 Thread Owain Ainsworth
so all allocators obey it, not just uvm_pagealloc (which is increasingly rarely called). This actually makes it a lot harder to deadlock the machine under very heavy memory pressure (uvm_pglistalloc for 7 pages when you have 7 pages left, for example). I have been using variants of this diff on

better bread

2011-07-03 Thread Ted Unangst
bread doesn't need the cred argument, remove it. Index: isofs/cd9660/cd9660_lookup.c === RCS file: /cvs/src/sys/isofs/cd9660/cd9660_lookup.c,v retrieving revision 1.17 diff -u -r1.17 cd9660_lookup.c --- isofs/cd9660/cd9660_lookup.c

wcsdup

2011-07-03 Thread Nicholas Marriott
From NetBSD with overflow check and a couple of minor tweaks by me. libc minor bump. Needed for libedit with wide characters which might be nice sometime. Comments/ok? Index: include/wchar.h === RCS file: