On Wed, 2008-02-27 at 09:14 +0100, Peter Zijlstra wrote:Humm, and here I sit staring at the screen. Perhaps I should go get my morning juice, but... if (mem_reserve_kmalloc_charge(my_res, sizeof(*foo), 0)) { foo = kmalloc(sizeof(*foo), gfp|__GFP_MEMALLOC) if (!kmem_is_emergency(foo)) mem_reserve_kmalloc_charge(my_res, -sizeof(*foo), 0) } else foo = kmalloc(sizeof(*foo), gfp); Just doesn't look too pretty.. And needing to always account the allocation seems wrong.. but I'll take poison and see if that wakes up my mind. --
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
| Chodorenko Michail | PROBLEM: Celeron Core |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Johannes Schindelin | Re: Empty directories... |
| Jakub Narebski | Re: VCS comparison table |
| Sam Song | Re: Fwd: [OT] Re: Git via a proxy server? |
| J.W. Zondag | Dell PE1950 III - Perc 6i |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Anselm Lingnau | File creation date in UNIX (was: Re: VMS) |
| Rafal Kustra (summer student) | mount |
| Nicholas Yue | Re: more on 486/33 weirdness |
