[PATCH 0/2] target: Pre-allocation fixes for v3.12-rc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

Here are two pre-allocation conversion related fixes that I'm queueing
up for v3.12-rc.

The first is a small vhost/scsi patch to fix a typo where GFP_KERNEL
instead of GFP_ATOMIC was used with percpu_ida_alloc() from interrupt
context in vhost_scsi_get_tag().

And the second is a patch for transport_alloc_session_tags() that
allows a high order kzalloc() failure of se_session->sess_cmd_map
memory to fallback to vzalloc, if necessary.

Thanks,

--nab

Nicholas Bellinger (2):
  vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag
  target: Fall back to vzalloc for se_sess->sess_cmd_map if necessary

 drivers/target/target_core_transport.c |   17 +++++++++++++----
 drivers/vhost/scsi.c                   |    2 +-
 2 files changed, 14 insertions(+), 5 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux