<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/asm-powerpc/pgalloc-64.h, branch v2.6.23.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/asm-powerpc/pgalloc-64.h?h=v2.6.23.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/asm-powerpc/pgalloc-64.h?h=v2.6.23.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2007-06-02T11:01:56Z</updated>
<entry>
<title>[POWERPC] Fix return from pte_alloc_one() in out-of-memory case</title>
<updated>2007-06-02T11:01:56Z</updated>
<author>
<name>Akinobu Mita</name>
<email>mita@fixstars.com</email>
</author>
<published>2007-05-29T10:46:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a4c28ab7445f5ca60e56ffd90edb3e9fc1330b71'/>
<id>urn:sha1:a4c28ab7445f5ca60e56ffd90edb3e9fc1330b71</id>
<content type='text'>
pte_alloc_one() is expected to return NULL if out of memory.
But it returns virt_to_page(NULL), which is not NULL.
This fixes it.

Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Akinobu Mita &lt;mita@fixstars.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Don't use SLAB/SLUB for PTE pages</title>
<updated>2007-05-09T06:35:00Z</updated>
<author>
<name>Hugh Dickins</name>
<email>hugh@veritas.com</email>
</author>
<published>2007-05-09T04:38:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=517e22638c282bb07c52a11f928961ed4822196b'/>
<id>urn:sha1:517e22638c282bb07c52a11f928961ed4822196b</id>
<content type='text'>
The SLUB allocator relies on struct page fields first_page and slab,
overwritten by ptl when SPLIT_PTLOCK: so the SLUB allocator cannot then
be used for the lowest level of pagetable pages.  This was obstructing
SLUB on PowerPC, which uses kmem_caches for its pagetables.  So convert
its pte level to use normal gfp pages (whereas pmd, pud and 64k-page pgd
want partpages, so continue to use kmem_caches for pmd, pud and pgd).

Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Remove arch/powerpc's dependence on asm-ppc/pg{alloc,table}.h</title>
<updated>2007-05-02T10:04:30Z</updated>
<author>
<name>David Gibson</name>
<email>david@gibson.dropbear.id.au</email>
</author>
<published>2007-04-30T06:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f88df14b1f15cdeffa060580a40c1ce3e13bb79e'/>
<id>urn:sha1:f88df14b1f15cdeffa060580a40c1ce3e13bb79e</id>
<content type='text'>
Currently, all 32-bit powerpc platforms use asm-ppc/pgtable.h and
asm-ppc/pgalloc.h, even when otherwise compiled with ARCH=powerpc.
Those asm-ppc files are a fairly nasty tangle of #ifdefs including a
bunch of things which shouldn't be necessary any more in arch/powerpc.

Cleaning up that mess is going to take a while, but this patch is a
first step.  It separates the asm-powerpc/pg{alloc,table}.h into 64
bit and 32 bit versions in asm-powerpc, which the basic .h files in
asm-powerpc select based on config.  We make a few tiny tweaks to the
innards of the files along the way, making the outermost ifdefs
(double-inclusion protection and __KERNEL__) a little cleaner, and
#including asm-generic/pgtable.h from the top-level
asm-powerpc/pgtable.h (since both the old 32-bit and 64-bit versions
ended with such an #include).

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
