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 --
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
| Aubrey | O_DIRECT question |
| David Miller | Slow DOWN, please!!! |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| Francis Moreau | emacs and git... |
| Linus Torvalds | I'm a total push-over.. |
| Keith Packard | Re: parsecvs tool now creates git repositories |
| Andreas Hildebrandt | CVS-$Id:$ replacement in git? |
| Jason Dixon | Wasting our Freedom |
| Richard Stallman | Real men don't attack straw men |
| Edwin Eyan Moragas | poll(2) vs kqueue(2) performance |
| James Hartley | scp batch mode? |
| Chris Peterson | [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
| Karen Xie | [RFC][PATCH 1/1] cxgb3i: cxgb3 iSCSI initiator |
| Lennert Buytenhek | [PATCH 14/39] mv643xx_eth: remove port serial status register bit defines |
| Andrew Morton | Re: [Bugme-new] [Bug 11036] New: atl1 tx busy and hw csum wrong |
| high memory | 2 hours ago | Linux kernel |
| semaphore access speed | 5 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 6 hours ago | Linux kernel |
| Easter Eggs in windows XP | 8 hours ago | Windows |
| Shared swap partition | 9 hours ago | Linux general |
| Root password | 10 hours ago | Linux general |
| Where/when DNOTIFY is used? | 11 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 14 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 14 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 20 hours ago | Linux general |
