Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1227908

Re: [PATCH] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)
Date 2015-09-18 16:30 +0200
Message-ID <qa4PL-5bi-1@gated-at.bofh.it> (permalink)
References <q9W5P-1dc-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 18 Sep 2015, Joonsoo Kim wrote:

> This patch fixes the problem of kmalloc_size(INDEX_NODE + 1) and removes
> the BUG by adding 'size >= 256' check to guarantee that all necessary
> small sized slabs are initialized regardless sequence of slab size in
> mapping table.

Acked-by: Christoph Lameter <cl@linux.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1) Joonsoo Kim <js1304@gmail.com> - 2015-09-18 07:10 +0200
  Re: [PATCH] mm/slab: fix unexpected index mapping result of  kmalloc_size(INDEX_NODE+1) Christoph Lameter <cl@linux.com> - 2015-09-18 16:30 +0200

csiph-web