Re: [PATCH] block: use static bio_set for bio_split() calls

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

 



On Thu, 2019-04-18 at 16:06 +-0200, Hannes Reinecke wrote:
+AD4 +-static int +AF8AXw-init blk+AF8-bio+AF8-split+AF8-init(void)
+AD4 +-+AHs
+AD4 +-       return bioset+AF8-init(+ACY-bio+AF8-split+AF8-bio+AF8-set, BIO+AF8-POOL+AF8-SIZE, 0,
+AD4 +-                          BIOSET+AF8-NEED+AF8-BVECS)+ADs
+AD4 +-+AH0

The slab allocator uses +AF8AXw-init for some of its initialization. Can it happen
that blk+AF8-bio+AF8-split+AF8-init() is called before slab initialization has finished?

Otherwise this patch looks fine to me.

Bart.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux