spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Reported-by: Hulk Robot
Signed-off-by: Tang Yizhou
---
drivers/infiniband/hw/cxgb4/cm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw
spinlock can be initialized automatically with DEFINE_SPINLOCK()
rather than explicitly calling spin_lock_init().
Reported-by: Hulk Robot
Signed-off-by: Tang Yizhou
---
drivers/crypto/ccp/ccp-crypto-main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/crypto/ccp
If p is a kthread, it will be checked in oom_unkillable_task() so
we can delete the corresponding comment.
Signed-off-by: Tang Yizhou
Acked-by: David Rientjes
Acked-by: Michal Hocko
---
v2: Update CC list
v3: Add Acked-by tags
mm/oom_kill.c | 5 ++---
1 file changed, 2 insertions(+), 3
If p is a kthread, it will be checked in oom_unkillable_task() so
we can delete the corresponding comment.
Signed-off-by: Tang Yizhou
Cc: David Rientjes
Cc: KOSAKI Motohiro
Cc: Shakeel Butt
Cc: Michal Hocko
---
v2: Update Cc list
mm/oom_kill.c | 5 ++---
1 file changed, 2 insertions(+), 3
If p is a kthread, it will be checked in oom_unkillable_task() so
we can delete the corresponding comment.
Signed-off-by: Tang Yizhou
Cc: Ding Tianhong
Cc: Zhou Guanghui
Cc: Chen Weilong
---
mm/oom_kill.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/mm/oom_kill.c
On 2020/8/25 22:57, Nicholas Piggin wrote:
> -int __init arch_ioremap_pud_supported(void)
> +bool arch_vmap_pud_supported(pgprot_t prot);
> {
> /*
>* Only 4k granule supports level 1 block mappings.
> @@ -1319,9 +1319,9 @@ int __init arch_ioremap_pud_supported(void)
>
Hi Nicholas,
We may change the title as follows:
mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c
Yizhou
The return value of populate_vma_page_range() is consistent with
__get_user_pages(), and so is the function comment of return value.
Signed-off-by: Tang Yizhou
---
mm/gup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/gup.c b/mm/gup.c
index 2cc5eba44362..a55f1ec712e9
8 matches
Mail list logo