<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/um/include, branch v3.1</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/um/include?h=v3.1</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/um/include?h=v3.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-09-15T01:09:37Z</updated>
<entry>
<title>um: clean arch_ptrace() up a bit</title>
<updated>2011-09-15T01:09:37Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2011-09-14T23:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f2833aef6a0517e933992c8007f330d0df5d9317'/>
<id>urn:sha1:f2833aef6a0517e933992c8007f330d0df5d9317</id>
<content type='text'>
1) take subarch-specific stuff to subarch_ptrace()
2) PTRACE_{PEEK,POKE}{TEXT,DATA} is handled by ptrace_request() just fine...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: fix oopsable race in line_close()</title>
<updated>2011-09-15T01:09:37Z</updated>
<author>
<name>Al Viro</name>
<email>viro@ftp.linux.org.uk</email>
</author>
<published>2011-09-14T23:21:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f71f94845e0126884eca8ce57a92e30b189c8e71'/>
<id>urn:sha1:f71f94845e0126884eca8ce57a92e30b189c8e71</id>
<content type='text'>
tty-&gt;count is decremented only after -&gt;close() had been called and
several tasks can hit it in parallel.  As the result, using tty-&gt;count
to check if you are the last one is broken.  We end up leaving line-&gt;tty
not reset to NULL and the next IRQ on that sucker will blow up trying to
dereference pointers from kfree'd struct tty.

Fix is obvious: we need to use a counter of our own.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: Save FPU registers between task switches</title>
<updated>2011-09-15T01:09:37Z</updated>
<author>
<name>Ingo van Lil</name>
<email>inguin@gmx.de</email>
</author>
<published>2011-09-14T23:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fbfe9c847edf57ac8232aeafb290f272289893a3'/>
<id>urn:sha1:fbfe9c847edf57ac8232aeafb290f272289893a3</id>
<content type='text'>
Some time ago Jeff prepared 42daba316557 ("uml: stop saving process FP
state") for UML to stop saving the process FP state between task
switches.  The assumption was that since with SKAS0 every guest process
runs inside a host process context the host OS will take care of keeping
the proper FP state.

Unfortunately this is not true for multi-threaded applications, where
all guest threads share a single host process context yet all may use
the FPU on their own.  Although I haven't verified it I suspect things
to be even worse in SKAS3 mode where all guest processes run inside a
single host process.

The patch reintroduces the saving and restoring of the FP context
between task switches.

[richard@nod.at: Ingo posted this patch in 2009, sadly it was never applied
and got lost. Now in 2011 the problem was reported by Gunnar.]

Signed-off-by: Ingo van Lil &lt;inguin@gmx.de&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Reported-by: &lt;gunnarlindroth@hotmail.com&gt;
Tested-by: &lt;gunnarlindroth@hotmail.com&gt;
Cc: Stanislav Meduna &lt;stano@meduna.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ptrace: unify show_regs() prototype</title>
<updated>2011-07-26T23:49:43Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-07-26T23:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0e9a6cb5e66f4b23e2a8f6b3f00949b7b3125dda'/>
<id>urn:sha1:0e9a6cb5e66f4b23e2a8f6b3f00949b7b3125dda</id>
<content type='text'>
[ poleg@redhat.com: no need to declare show_regs() in ptrace.h, sched.h does this ]
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Tejun Heo &lt;tj@kernel.org&gt;
Signed-off-by: Oleg Nesterov &lt;oleg@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: clean up delay functions</title>
<updated>2011-07-26T03:57:12Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-07-26T00:12:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=22e9b917ab7ccd98046ad9428fb28967f0744605'/>
<id>urn:sha1:22e9b917ab7ccd98046ad9428fb28967f0744605</id>
<content type='text'>
Both sys-i386 and sys-x86_64 support now ndelay().  The delay functions
are based on arch/x86/lib/delay.c.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: add asm/percpu.h</title>
<updated>2011-06-28T01:00:12Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-06-27T23:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8c95aa60d2ae3c4e63705ee0f18e155898b09662'/>
<id>urn:sha1:8c95aa60d2ae3c4e63705ee0f18e155898b09662</id>
<content type='text'>
To make SLUB work on UML we need this_cpu_cmpxchg from
asm-generic/percpu.h.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Remove unused PROC_CHANGE_PENALTY constant</title>
<updated>2011-05-25T15:39:43Z</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2011-05-25T00:13:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=818b667ba57f68bf1e7240fa441dda0b11e6b944'/>
<id>urn:sha1:818b667ba57f68bf1e7240fa441dda0b11e6b944</id>
<content type='text'>
This constant hasn't been used since before the git era (2.6.12) and thus
can be dropped.

Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: Richard Weinberger &lt;richard@nod.at&gt;
Cc: Hirokazu Takata &lt;takata@linux-m32r.org&gt;
Cc: Kyle McMartin &lt;kyle@mcmartin.ca&gt;
Cc: Richard Henderson &lt;rth@twiddle.net&gt;
Cc: Ivan Kokshaysky &lt;ink@jurassic.park.msu.ru&gt;
Cc: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: include linux/prefetch.h</title>
<updated>2011-05-25T15:39:42Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-05-25T00:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=607647ab04cb7c23616fb5c5dc8bad86f410226d'/>
<id>urn:sha1:607647ab04cb7c23616fb5c5dc8bad86f410226d</id>
<content type='text'>
Fix build failures on UML.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: add earlyprintk support</title>
<updated>2011-05-25T15:39:41Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-05-25T00:13:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d634f194d4e2e58d57927c812aca097e67a2287d'/>
<id>urn:sha1:d634f194d4e2e58d57927c812aca097e67a2287d</id>
<content type='text'>
User Mode Linux can also benefit from earlyprintk.  UML's earlyprintk
writes kernel messages directly to stdout.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>um: fix UML_LIB_PATH</title>
<updated>2011-05-25T15:39:40Z</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2011-05-25T00:13:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0ce451acb1872eab0fcf22753f93f51567e812fa'/>
<id>urn:sha1:0ce451acb1872eab0fcf22753f93f51567e812fa</id>
<content type='text'>
UML_LIB_PATH is hardcoded to /usr/lib/uml/, on 64bit systems UML_LIB_PATH
needs to be /usr/lib64/uml/.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
