Re: [PATCH] ublk: fix ublk_ch_mmap() for 64K page size

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

 



On Mon, 11 Nov 2024 19:07:18 +0800, Ming Lei wrote:
> In ublk_ch_mmap(), queue id is calculated in the following way:
> 
> 	(vma->vm_pgoff << PAGE_SHIFT) / `max_cmd_buf_size`
> 
> 'max_cmd_buf_size' is equal to
> 
> 	`UBLK_MAX_QUEUE_DEPTH * sizeof(struct ublksrv_io_desc)`
> 
> [...]

Applied, thanks!

[1/1] ublk: fix ublk_ch_mmap() for 64K page size
      commit: d369735e02ef122d19d4c3d093028da0eb400636

Best regards,
-- 
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