On Sat, 29 Mar 2008, Christoph Lameter wrote:Wrong. It uses it's own logic for __GFP_ZERO *regardless* of size. You don't have a f*cking clue about this cocde that you're supposed to be maintaining, do you? See "slab_alloc()". See the code: if (unlikely((gfpflags & __GFP_ZERO) && object)) memset(object, 0, c->objsize); and see how it does it regardless of anything else. In short, if *any* code-path calls down to any allocator from that routine with GFP_ZERO set, it's a bug. No ifs, buts or maybes about it. It shouldn't do that, because the actual memset() is done by slab_alloc(), and should not be done ANYWHERE ELSE. It has *nothing* to do with "object is too big" or anything else. No. I want you to admit the bugs in code you maintain. I want you to admit that slab_alloc() does the memset(), and should NEVER EVER use __GFP_ZERO for the page allocations. I have told you about a million times now that THIS HAS NOTHING TO DO WITH interrupts or HIGHMEM or *anything* else. This is purely a SLUB issue. But don't worry. I already fixed it by reverting your broken commit. I just wish you could follow code that you are supposed to be maintaining. Linus --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Stephen Rothwell | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Arjan van de Ven | Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon access scanning |
| Patrick McHardy | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Eric W. Biederman | Re: namespace support requires network modules to say "GPL" |
git: | |
