Re: + zram-remove-double-compression-logic.patch added to mm-unstable branch

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

 



On (22/05/07 11:57), Andrew Morton wrote:
> The 2nd trial allocation under per-cpu presumption has been used to
> prevent regression of allocation failure.  However, it makes trouble for
> maintenance without significant benefit.  The slowpath branch is executed
> extremely rarely: getting there is problematic.  Therefore, we delete this
> branch.
> 
> Since b09ab054b69b ("zram: support BDI_CAP_STABLE_WRITES"), zram has used
> QUEUE_FLAG_STABLE_WRITES to prevent buffer change between 1st and 2nd
> memory allocations.  Since we remove second trial memory allocation logic,
> we could remove the STABLE_WRITES flag because there is no change buffer
> to be modified under us.
> 
> Link: https://lkml.kernel.org/r/20220505094443.11728-1-avromanov@xxxxxxxxxxxxxx
> Signed-off-by: Alexey Romanov <avromanov@xxxxxxxxxxxxxx>
> Signed-off-by: Dmitry Rokosov <ddrokosov@xxxxxxxxxxxxxx>
> Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
> Cc: Nitin Gupta <ngupta@xxxxxxxxxx>
> Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux