Displaying 3 results from an estimated 3 matches for "b756a3b5e7ea".
2023 Mar 28
3
[PATCH] mm: Take a page reference when removing device exclusive entries
...ECK_AT_FREE due to the page being locked
when the refcount drops to zero. Note that during removal of the
device exclusive entry the PTE is currently re-checked under the PTL
so no futher bad page accesses occur once it is locked.
Signed-off-by: Alistair Popple <apopple at nvidia.com>
Fixes: b756a3b5e7ea ("mm: device exclusive memory access")
Cc: stable at vger.kernel.org
---
mm/memory.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/mm/memory.c b/mm/memory.c
index 8c8420934d60..b499bd283d8e 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3623,8 +3623,1...
2023 Mar 30
4
[PATCH v2] mm: Take a page reference when removing device exclusive entries
...n unrelated folio. This case is also detected by the PTE check and
the folio is unlocked without further changes.
Signed-off-by: Alistair Popple <apopple at nvidia.com>
Reviewed-by: Ralph Campbell <rcampbell at nvidia.com>
Reviewed-by: John Hubbard <jhubbard at nvidia.com>
Fixes: b756a3b5e7ea ("mm: device exclusive memory access")
Cc: stable at vger.kernel.org
---
Changes for v2:
- Rebased to Linus master
- Reworded commit message
- Switched to using folios (thanks Matthew!)
- Added Reviewed-by's
---
mm/memory.c | 16 +++++++++++++++-
1 file changed, 15 insertions(...
2023 Mar 28
1
[PATCH] mm: Take a page reference when removing device exclusive entries
...aybe that's not all that much help. But it does at least
provide the traditional description of what the patch *does*, at
the end of the commit description. But please treat this as just
an optional suggestion.
>
> Signed-off-by: Alistair Popple <apopple at nvidia.com>
> Fixes: b756a3b5e7ea ("mm: device exclusive memory access")
> Cc: stable at vger.kernel.org
> ---
> mm/memory.c | 14 +++++++++++++-
> 1 file changed, 13 insertions(+), 1 deletion(-)
On the patch process, I see that this applies to linux-stable's 6.1.y
branch. I'd suggest two things:
1)...