<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git, branch v2.6.16.56</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.56</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v2.6.16.56'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2007-11-01T02:23:29Z</updated>
<entry>
<title>Linux 2.6.16.56</title>
<updated>2007-11-01T02:23:29Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-11-01T02:23:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=090d13fcbb9318a68236c7e98d524f812d2957b2'/>
<id>urn:sha1:090d13fcbb9318a68236c7e98d524f812d2957b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 2.6.16.56-rc2</title>
<updated>2007-10-28T21:33:36Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-10-28T21:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=400737bf7a8dcc0c84bf7b01d5637db6db0e1678'/>
<id>urn:sha1:400737bf7a8dcc0c84bf7b01d5637db6db0e1678</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hugetlb: fix size=4G parsing</title>
<updated>2007-10-28T21:32:04Z</updated>
<author>
<name>Hugh Dickins</name>
<email>hugh@veritas.com</email>
</author>
<published>2007-10-28T21:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=63419d8efa745ed9a9b7e91a324b9b933dfdbb34'/>
<id>urn:sha1:63419d8efa745ed9a9b7e91a324b9b933dfdbb34</id>
<content type='text'>
On 32-bit machines, mount -t hugetlbfs -o size=4G gave a 0GB filesystem,
size=5G gave a 1GB filesystem etc: there's no point in masking size with
HPAGE_MASK just before shifting its lower bits away, and since HPAGE_MASK is a
UL, that removed all the higher bits of the unsigned long long size.

Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>hugetlb: fix error return for brk() entering a hugepage region</title>
<updated>2007-10-28T21:22:25Z</updated>
<author>
<name>Hugh Dickins</name>
<email>hugh@veritas.com</email>
</author>
<published>2007-10-28T21:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=255189a700d809000157d5eed1a3ede9e6426f68'/>
<id>urn:sha1:255189a700d809000157d5eed1a3ede9e6426f68</id>
<content type='text'>
The lats commit causes the wrong return value.
is_hugepage_only_range() is a boolean, so we should return
-EINVAL rather than 1.

Also - we can use "mm" instead of looking up "current-&gt;mm" again.

Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>hugetlb: check for brk() entering a hugepage region</title>
<updated>2007-10-28T21:20:34Z</updated>
<author>
<name>David Gibson</name>
<email>david@gibson.dropbear.id.au</email>
</author>
<published>2007-10-28T21:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6a93b22bc8569315b2e0ce07297b73673882925a'/>
<id>urn:sha1:6a93b22bc8569315b2e0ce07297b73673882925a</id>
<content type='text'>
Unlike mmap(), the codepath for brk() creates a vma without first checking
that it doesn't touch a region exclusively reserved for hugepages.  On
powerpc, this can allow it to create a normal page vma in a hugepage
region, causing oopses and other badness.

Add a test to prevent this.  With this patch, brk() will simply fail if it
attempts to move the break into a hugepage reserved region.

Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>[IA64] fix ia64 is_hugepage_only_range</title>
<updated>2007-10-28T20:40:41Z</updated>
<author>
<name>Ken Chen</name>
<email>kenneth.w.chen@intel.com</email>
</author>
<published>2007-10-28T20:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=42ea9d4b9da1bb26d519f91c9464fd093c7a56a2'/>
<id>urn:sha1:42ea9d4b9da1bb26d519f91c9464fd093c7a56a2</id>
<content type='text'>
fix is_hugepage_only_range() definition to be "overlaps"
instead of "within architectural restricted hugetlb address
range".  Simplify the ia64 specific code that used to use
is_hugepage_only_range() to just check which region the
address is in.

Signed-off-by: Ken Chen &lt;kenneth.w.chen@intel.com&gt;
Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>Linux 2.6.16.56-rc1</title>
<updated>2007-10-19T17:15:19Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-10-19T17:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bd5dd01bad40e1702c3933e2f9a46be89834715b'/>
<id>urn:sha1:bd5dd01bad40e1702c3933e2f9a46be89834715b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't allow the stack to grow into hugetlb reserved regions (CVE-2007-3739)</title>
<updated>2007-10-19T17:05:10Z</updated>
<author>
<name>Adam Litke</name>
<email>agl@us.ibm.com</email>
</author>
<published>2007-10-19T17:05:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2c70c535915f621fe51508076804b4575171a23d'/>
<id>urn:sha1:2c70c535915f621fe51508076804b4575171a23d</id>
<content type='text'>
When expanding the stack, we don't currently check if the VMA will cross
into an area of the address space that is reserved for hugetlb pages.
Subsequent faults on the expanded portion of such a VMA will confuse the
low-level MMU code, resulting in an OOPS.  Check for this.

Signed-off-by: Adam Litke &lt;agl@us.ibm.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>drivers/video/macmodes.c:mac_find_mode() mustn't be __init</title>
<updated>2007-10-19T16:51:07Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2007-10-19T16:51:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c19b3d848a376abb057d6c80788f424e4c565223'/>
<id>urn:sha1:c19b3d848a376abb057d6c80788f424e4c565223</id>
<content type='text'>
If it's EXPORT_SYMBOL'ed it can't be __devinit.

Reported by Mikael Pettersson.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
<entry>
<title>hugetlb: fix prio_tree unit (CVE-2007-4133)</title>
<updated>2007-10-19T12:30:18Z</updated>
<author>
<name>Hugh Dickins</name>
<email>hugh@veritas.com</email>
</author>
<published>2007-10-19T12:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ec2cb473e3bb0fe1538874cf7773638c235e5b45'/>
<id>urn:sha1:ec2cb473e3bb0fe1538874cf7773638c235e5b45</id>
<content type='text'>
hugetlb_vmtruncate_list was misconverted to prio_tree: its prio_tree is in
units of PAGE_SIZE (PAGE_CACHE_SIZE) like any other, not HPAGE_SIZE (whereas
its radix_tree is kept in units of HPAGE_SIZE, otherwise slots would be
absurdly sparse).

At first I thought the error benign, just calling __unmap_hugepage_range on
more vmas than necessary; but on 32-bit machines, when the prio_tree is
searched correctly, it happens to ensure the v_offset calculation won't
overflow.  As it stood, when truncating at or beyond 4GB, it was liable to
discard pages COWed from lower offsets; or even to clear pmd entries of
preceding vmas, triggering exit_mmap's BUG_ON(nr_ptes).

Signed-off-by: Hugh Dickins &lt;hugh@veritas.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
</content>
</entry>
</feed>
