Re: [uml-devel] [RFC][PATCH] include /usr/lib/uml in PATH

2006-04-06 Thread Blaisorblade
On Wednesday 05 April 2006 23:11, Mattia Dongili wrote: > On Tue, Apr 04, 2006 at 02:39:44AM +0200, Blaisorblade wrote: > > On Sunday 02 April 2006 21:54, Mattia Dongili wrote: > > [...] > > > Thanks for the patch, we'll possibly apply it, but we need to reimplement > > (or copy and fix from glibc)

Re: [uml-devel] system call accessing the host os

2006-04-06 Thread Jeff Dike
On Fri, Apr 07, 2006 at 02:20:00AM +0200, Blaisorblade wrote: > No, I made it "greater than 4k" in 2.4.24 time... in fact it's what's > happening to him (see his last mail): Oh yeah. In that case, the memset thing I mentioned earlier might help. Jeff --

Re: [uml-devel] system call accessing the host os

2006-04-06 Thread Blaisorblade
On Wednesday 05 April 2006 20:18, Jeff Dike wrote: > On Wed, Apr 05, 2006 at 07:16:22PM +0200, Olivier Crameri wrote: > > Unfortunately, I'm having some weird issues that I can't really > > understand. I can read the file using fread, but only in a buffer > > that I allocated using um_kmalloc. If I

[uml-devel] Re: [PATCH 1/2] Add GFP_NOWAIT

2006-04-06 Thread Nathan Scott
On Thu, Apr 06, 2006 at 12:55:22PM -0400, Jeff Dike wrote: > Introduce GFP_NOWAIT, as an alias for GFP_ATOMIC & ~__GFP_HIGH. > > This also changes XFS, which is the only in-tree user of this idiom that I > could find. The XFS piece is compile-tested only. Looks fine, thanks Jeff. > Signed-off-

[uml-devel] [PATCH 1/2] Add GFP_NOWAIT

2006-04-06 Thread Jeff Dike
Introduce GFP_NOWAIT, as an alias for GFP_ATOMIC & ~__GFP_HIGH. This also changes XFS, which is the only in-tree user of this idiom that I could find. The XFS piece is compile-tested only. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Index: linux-2.6.16/fs/xfs/linux-2.6/xfs_buf.c =

[uml-devel] [PATCH 2/2] UML memory hotplug cleanups

2006-04-06 Thread Jeff Dike
Change memory hotplug to use GFP_NOWAIT instead of GFP_ATOMIC, so that it will grab memory without sleeping, but doesn't try to use the emergency pools. A small list initialization suggested by Daniel Phillips - don't initialize lists which are just about to be list_add-ed. Signed-off-by: Jeff Di

Re: [uml-devel] system call accessing the host os

2006-04-06 Thread Olivier Crameri
Then, when I use fread to read my file into this buffer, if I read a small number of bytes, it works. However when I try to fread the entire file (38k), fread returns 0. What's the break point between working and non-working? It looks like it's on a page boundary. 4095 bytes is ok, 4096 i