Re: [uml-devel] [PATCH 4/4] UML - lock host ldt retrieval

2007-02-22 Thread Jeff Dike
On Wed, Feb 21, 2007 at 11:40:28PM +0100, Blaisorblade wrote: > Please remove GFP_KERNEL allocation under spin_lock Nice spotting - I'll redo the patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line

Re: [uml-devel] [PATCH 4/4] UML - lock host ldt retrieval

2007-02-22 Thread Jeff Dike
On Wed, Feb 21, 2007 at 11:40:28PM +0100, Blaisorblade wrote: Please remove GFP_KERNEL allocation under spin_lock Nice spotting - I'll redo the patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line

Re: [uml-devel] [PATCH 4/4] UML - lock host ldt retrieval

2007-02-21 Thread Blaisorblade
On Wednesday 21 February 2007 21:25, Jeff Dike wrote: > Add some locking to host_ldt_entries to prevent racing when reading > LDT information from the host. Please remove GFP_KERNEL allocation under spin_lock - simplest way is using a mutex unless this can be important for performance. > @@

Re: [uml-devel] [PATCH 4/4] UML - lock host ldt retrieval

2007-02-21 Thread Blaisorblade
On Wednesday 21 February 2007 21:25, Jeff Dike wrote: Add some locking to host_ldt_entries to prevent racing when reading LDT information from the host. Please remove GFP_KERNEL allocation under spin_lock - simplest way is using a mutex unless this can be important for performance. @@