Re: [uml-devel] Clearing kmalloc_ok during shutdown is broken - malloc will clear our data.

2005-10-03 Thread Allan Graves
I'm not understanding why glibc would break the registers at will. From setjmp: /* NOTE: The machine-dependent definitions of `__sigsetjmp' assume that a `jmp_buf' begins with a `__jmp_buf' and that `__mask_was_saved' follows it. Do not move these members or add others before

Re: [uml-devel] Clearing kmalloc_ok during shutdown is broken - malloc will clear our data.

2005-10-03 Thread Blaisorblade
On Monday 03 October 2005 15:40, Allan Graves wrote: > I'm not understanding why glibc would break the registers at will. > From setjmp: > /* NOTE: The machine-dependent definitions of `__sigsetjmp' >assume that a `jmp_buf' begins with a `__jmp_buf' and that >`__mask_was_saved'

Re: [uml-devel] Using __initcall from um/drivers/chan_kern.c / fun with keyboard

2005-10-03 Thread Blaisorblade
On Monday 03 October 2005 08:02, Nelson Castillo wrote: > Hi, I'm sending a patch that allows me to query the > number of keys pressed by the user (I'll copy [4]). > -- > # cat /proc/keystrokes > 29 > -- > I read [1] and skimmed over [2] and I think I'm using > the __init

Re: [uml-devel] a question about sigsetjmp() in copy_from/to_user()

2005-10-03 Thread Blaisorblade
On Sunday 02 October 2005 20:31, Jeff Dike wrote: > On Sun, Oct 02, 2005 at 12:23:14PM +0200, Blaisorblade wrote: > > Sorry, any reference will fault, unless it is done on a allocated present > > page, which the UML kernel freed but the host didn't. And remember, btw, > > you've planned to make thi

Re: [uml-devel] Re: UML/2.6.14-rc3 doesn't work fixes

2005-10-03 Thread Blaisorblade
On Sunday 02 October 2005 20:37, Al Viro wrote: > On Sun, Oct 02, 2005 at 08:01:21PM +0200, Blaisorblade wrote: > > On Sunday 02 October 2005 17:51, Jeff Dike wrote: > > Al, is that ok for you if we follow this original plan? > > > > In this case, I'll post the dropping patch and re-send the Kbuil

[uml-devel] Re: UML/2.6.14-rc3 doesn't work fixes

2005-10-03 Thread Blaisorblade
On Sunday 02 October 2005 22:54, Al Viro wrote: > BTW, speaking of Kbuild cleanups (and that one is definitely 2.6.15 > fodder): patch below > * kills messing with lib vs. core for uml-amd64 (we don't need that > anymore) I'm even curious why we needed that in first place. > * kills sy

Re: [uml-devel] Using __initcall from um/drivers/chan_kern.c / fun with keyboard

2005-10-03 Thread Nelson Castillo
On 10/3/05, Blaisorblade <[EMAIL PROTECTED]> wrote: >You have a trivial typo. Yup :( Thanks. -- Homepage : http://geocities.com/arhuaco The first principle is that you must not fool yourself and you are the easiest person to fool. -- Richard Feynman. --

Re: [uml-devel] a question about sigsetjmp() in copy_from/to_user()

2005-10-03 Thread Jeff Dike
On Mon, Oct 03, 2005 at 08:35:54PM +0200, Blaisorblade wrote: > /dev/anon - when the UML kernel frees a page, we ask the host to free it too. Yeah, /dev/anon is a completely different story, but I thought we were talking about normal tmpfs. Jeff -

[uml-devel] Re: UML/2.6.14-rc3 doesn't work fixes

2005-10-03 Thread Al Viro
On Mon, Oct 03, 2005 at 08:30:23PM +0200, Blaisorblade wrote: > The second is that, even if x86_64 uses things such as (from > arch/x86_64/mm/Makefile): > > obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o > hugetlbpage-y = ../../i386/mm/hugetlbpage.o > (because hugetlbpage.o is conditional) > > we