On Fri, 28 Mar 2008, Christoph Lameter wrote:.. and clear_highpage() does: void *kaddr = kmap_atomic(page, KM_USER0); clear_page(kaddr); .. where kmap_atomic() on x86 does: kmap_atomic() -> kmap_atomic_prot() -> debug_kmap_atomic_prot() -> if (in_irq()) WARN_ON_ONCE() none of which are at all conditional on __GFP_HIGHMEM. But none of this is relevant. The warning possibly didn't even come from slub, it just made me look at it - because *something* is doing GFP_ATOMIC together with __GFP_ZERO, and it became obvious that SLUB is one potential cause of that. And the SLUB case simply isn't valid! No. Dammit, the bug is in SLUB. If SLUB *ever* calls the page allocator with __GFP_ZERO set, it's a bug, and that has nothing to do with GFP_ATOMIC or anything else. Because SLUB uses its own logic for clearing the result. Why cannot you just admit it? Now, _outside_ of SLUB there appear to be other users too, and those users need to either be fixed or we need to allow __GFP_ZERO togethe with GFP_ATOMIC. But the fact is, SLUB had a really stupid bug that it shouldn't have had. Linus --
| Linus Torvalds | Linux 2.6.27-rc5 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Johannes Sixt | [PATCH 02/40] Compile some programs only conditionally. |
| Linus Torvalds | [PATCH 0/6] Initial subproject support (RFC?) |
| Jon Smirl | Figured out how to get Mozilla into git |
| Linus Torvalds | irc usage.. |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Tony Bruguier | [newbie] ssh and sftp timing out |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Doug Evans | Re: Stabilizing Linux |
| Joseph R. Pannon | Re: Ctrl-Alt-Del |
| Pat Rankin | Re: Nethack + Linux, Please Help! |
| usb mic not detected | 14 minutes ago | Applications and Utilities |
| Treason Uncloaked | 5 hours ago | Linux kernel |
| Shared swap partition | 16 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 2 days ago | Linux kernel |
