Re: [PATCH 7/8] zsmalloc: replace per zpage lock with pool->migrate_lock

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

 



On 2021-11-11 15:11:34 [-0800], Minchan Kim wrote:
> From e0bfc5185bbd15c651a7a367b6d053b8c88b1e01 Mon Sep 17 00:00:00 2001
> From: Minchan Kim <minchan@xxxxxxxxxx>
> Date: Tue, 19 Oct 2021 15:34:09 -0700
> Subject: [PATCH] locking/rwlocks: introduce write_lock_nested
> 
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>
> ---
>  include/linux/rwlock.h          | 6 ++++++
>  include/linux/rwlock_api_smp.h  | 9 +++++++++
>  include/linux/spinlock_api_up.h | 1 +
>  kernel/locking/spinlock.c       | 6 ++++++
>  4 files changed, 22 insertions(+)
> 

This looks about right. Could you also please wire up PREEMPT_RT's
version of it, that would be in
	include/linux/rwlock_rt.h
	kernel/locking/spinlock_rt.c

Sebastian




[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