Re: [PATCH] mm/cma: fix the bitmap status to show failed allocation reason

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

 



On Wed, 20 Mar 2019 14:08:29 +0800 Yue Hu <zbestahu@xxxxxxxxx> wrote:

> Currently one bit in cma bitmap represents number of pages rather than
> one page, cma->count means cma size in pages. So to find available pages
> via find_next_zero_bit()/find_next_bit() we should use cma size not in
> pages but in bits although current free pages number is correct due to
> zero value of order_per_bit. Once order_per_bit is changed the bitmap
> status will be incorrect.

When fixing a bug, please always describe the end-user visible runtime
effects of that bug?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux