Re: [uml-devel] btrfs failure and BUG_ON behaviour

2011-04-12 Thread Sergei Trofimovich
On Tue, 12 Apr 2011 01:13:30 +0200 richard -rw- weinberger wrote: > >   Here we have BUG_ON in lookup_inline_extent_backref+0x2dc/0x3f0, but that > > pesky > >   hard_handler. Is it an UML bug or known and expected behaviour? > > Can you please test the attached patch? > The trace was broken

Re: [uml-devel] btrfs failure and BUG_ON behaviour

2011-04-12 Thread richard -rw- weinberger
On Tue, Apr 12, 2011 at 12:13 PM, Sergei Trofimovich wrote: > On Tue, 12 Apr 2011 01:13:30 +0200 > richard -rw- weinberger wrote: > >> >   Here we have BUG_ON in lookup_inline_extent_backref+0x2dc/0x3f0, but >> > that pesky >> >   hard_handler. Is it an UML bug or known and expected behaviour? >

[uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Richard Weinberger
Hi, This patch implements this_cpu_cmpxchg16b_emu() for UML. As I'm not an amd64 assembly guru I'm not sure whether the assembly part is correct. Can someone please review it? Especially I'm unsure which register have to be saved before each call to C functions. Thanks, //richard >From 202b0ef

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Richard Weinberger
Am Dienstag 12 April 2011, 20:10:37 schrieb Christoph Lameter: > On Tue, 12 Apr 2011, Richard Weinberger wrote: > > This patch implements this_cpu_cmpxchg16b_emu() for UML. > > Is this really necessary? Just undefine CONFIG_CMPXCHG_LOCAL for UML and > the asm code will not be used. UML includes a

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Tejun Heo
On Tue, Apr 12, 2011 at 08:41:11PM +0200, Richard Weinberger wrote: > Am Dienstag 12 April 2011, 20:10:37 schrieb Christoph Lameter: > > On Tue, 12 Apr 2011, Richard Weinberger wrote: > > > This patch implements this_cpu_cmpxchg16b_emu() for UML. > > > > Is this really necessary? Just undefine CON

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Pekka Enberg
On Tue, Apr 12, 2011 at 08:41:11PM +0200, Richard Weinberger wrote: >> Am Dienstag 12 April 2011, 20:10:37 schrieb Christoph Lameter: >> > On Tue, 12 Apr 2011, Richard Weinberger wrote: >> > > This patch implements this_cpu_cmpxchg16b_emu() for UML. >> > >> > Is this really necessary? Just undefine

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Christoph Lameter
On Tue, 12 Apr 2011, Richard Weinberger wrote: > This patch implements this_cpu_cmpxchg16b_emu() for UML. Is this really necessary? Just undefine CONFIG_CMPXCHG_LOCAL for UML and the asm code will not be used. -- Forres

Re: [uml-devel] um: this_cpu_cmpxchg16b_emu

2011-04-12 Thread Richard Weinberger
Am Dienstag 12 April 2011, 21:22:47 schrieb Pekka Enberg: > On Tue, Apr 12, 2011 at 08:41:11PM +0200, Richard Weinberger wrote: > >> Am Dienstag 12 April 2011, 20:10:37 schrieb Christoph Lameter: > >> > On Tue, 12 Apr 2011, Richard Weinberger wrote: > >> > > This patch implements this_cpu_cmpxchg16

[uml-devel] [PATCH] um: Add a "ucast" ethernet transport

2011-04-12 Thread Nolan Leake
The "ucast" transport is similar to the mcast transport (and, in fact, shares most of its code), only it uses UDP unicast to move packets. Obviously this is only useful for point-to-point connections between virtual ethernet devices. Signed-off-by: Nolan Leake --- Documentation/uml/UserModeLinu