> On Mon, 1 Oct 2007, Yasunori Goto wrote:Here is just the rollback code for an allocation failure of kmem_cache_node in halfway. So, there is a case some of them are not allocated yet. Any slabs don't use new kmem_cache_node before the new nodes page is available --so far--. But, in the future, here will be useful for node hot-unplug code, and its check will be necessary. Ok. I'll add its check. Do you mean that just nr_slabs should be checked like followings? I'm not sure this is enough. : if (s->node[nid]) { n = get_node(s, nid); if (!atomic_read(&n->nr_slabs)) { s->node[nid] = NULL; kmem_cache_free(kmalloc_caches, n); } } : : Thanks. -- Yasunori Goto -
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Linus Torvalds | Re: 2.6.25-git2: BUG: unable to handle kernel paging request at ffffffffffffffff |
| S.Çağlar | Rescheduling interrupts |
| Andi Kleen | Re: [patch] Add basic sanity checks to the syscall execution patch |
git: | |
| Jon Smirl | Re: Figured out how to get Mozilla into git |
| Matt McCutchen | Multiple checkouts of the same repository |
| Willy Tarreau | Multiple working trees with GIT ? |
| Linus Torvalds | Re: git + ssh + key authentication feature-request |
| Richard Stallman | Real men don't attack straw men |
| Adam Getchell | Re: About Xen: maybe a reiterative question but .. |
| Girish Venkatachalam | Thinkpad t61 OpenBSD support? |
| carlopmart | About Xen: maybe a reiterative question but .. |
| Jeff Kirsher | [PATCH 1/3] e1000e: add support for the 82567LM-4 device |
| slavon | Re: e1000_clean_tx_irq: Detected Tx Unit Hang - it's bug? |
| Hugh Dickins | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Eliezer Tamir | Re: [PATCH][BNX2X] added register coments |
