Re: [PATCH] null_blk: prevent crash from bad home_node value

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

 



On 4/5/19 3:42 PM, John Pittman wrote:
> At module load, if the selected home_node value is greater than
> the available numa nodes, the system will crash in
> __alloc_pages_nodemask() due to a bad paging request.  Prevent this
> user error crash by detecting the bad value, logging an error, and
> setting g_home_node back to the default of NUMA_NO_NODE.

Applied, thanks.

-- 
Jens Axboe




[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