[PATCHv3 01/11] USB: gadget: g_mass_storage: static data instead of dynamic allocation
This patch changes msg_do_config() function so that it uses a static object for a fsg_common structure instead of dynamically allocated. This is a micro-optimisation. Signed-off-by: Michal Nazarewicz <m.nazarewicz(a)samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park(a)samsung.com> --- drivers/usb/gadget/mas... 2 Jun 2010 09:49
kconfig: introduce nonint_oldconfig and loose_nonint_oldconfig (v3)
On 6.5.2010 18:48, Aristeu Rozanski wrote: This patch has been around for a long time in Fedora and Red Hat Enterprise Linux kernels and it may be useful for others. The nonint_oldconfig target will fail and print the unset config options while loose_nonint_oldconfig will simply let the config option unset.... 2 Jun 2010 09:49
[PATCH 18/21] Hibernation: Remove wait_on_bio_chain result
wait_on_bio_chain can't fail - make the result void instead of int. Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power/block_io.c | 6 +++--- kernel/power/block_io.h | 2 +- kernel/power/power.h | 2 +- kernel/power/swap.c | 14 +++----------- 4 files changed, 8 insertion... 2 Jun 2010 08:44
Nigel's current for-rafael queue
Hi all. Here is my current patch queue. Taken together, the patches implement the separation of low level block i/o into a separate file, switch from using swap_map_pages to extents stores prior to the 'header' page and implement fully asynchronous (rather than batched I/O). I have only run it under VMware so... 2 Jun 2010 08:43
[PATCH 09/21] Hibernation: Stop passing bio_chain around
Stop using the struct bio **bio_chain as a means of tracking outstanding i/o and signalling when we want synchronous i/o. Instead, keep a bio_chain in the block_io code and use a flag to explicitly request synchronous I/O. Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power/block_io.c | 27 ... 2 Jun 2010 08:43
[PATCH 01/21] Hibernation: Swap iteration functions.
Add the data structure 'storage_position' and routines that allow a caller to iterate over swap in sector order. Note that calling reset_storage_pos only resets the position. next_swapdev_block must also be called to get the address of the first (and subsequent sectors). Signed-off-by: Nigel Cunningham <nigel(a)tu... 2 Jun 2010 08:43
[PATCH 21/21] Hibernation: Remove now-empty routines.
release_swap_writer and release_swap_reader are now empty functions. Remove them and clean up callers (including swap_reader_finish, which just called release_swap_reader). Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power/block_io.c | 36 ++++-------------------------------- kernel/power... 2 Jun 2010 08:43
[PATCH 14/21] Hibernation: Use block extents for reading image
Switch from using swap map pages to using block extents for knowing where the next page needs to be read from. Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power/block_io.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/block_io.c b/kernel/power/blo... 2 Jun 2010 08:43
[PATCH 11/21] Hibernation: Partial page I/O support.
Add functions that can be used for coalescing and splitting buffers that are smaller than PAGE_SIZE. These functions provide no method of determining where the boundaries of the smaller buffers are to be found - that is the caller's problem. Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power... 2 Jun 2010 08:43
[PATCH 19/21] Hibernation: Prepare for handle.cur removal
Prepare for the removal of handle.cur by stopping using it in get_swap_reader. Signed-off-by: Nigel Cunningham <nigel(a)tuxonice.net> --- kernel/power/block_io.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/power/block_io.c b/kernel/power/block_io.c index c71c7c3..dd... 2 Jun 2010 08:43