diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-18 18:43:46 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-18 18:43:46 -0800 |
| commit | 477702e9c136022c858d8b4f59832c5a4eafe526 (patch) | |
| tree | b99107f83ebc7c289c753a7d7dc3b62f1b09898f /include/linux/byteorder | |
| parent | 6fefc8fa247f1c42fe59b560bbbf5688c48ef94a (diff) | |
[PATCH] s390: endless loop in follow_page.
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Fix endless loop in get_user_pages() on s390. It happens only on s/390
because pte_dirty always returns 0. For all other architectures this is an
optimization.
In the case of "write && !pte_dirty(pte)" follow_page() returns NULL. On all
architectures except s390 handle_pte_fault() will then create a pte with
pte_dirty(pte)==1 because write_access==1. In the following, second call to
follow_page() all is fine. With the physical dirty bit patch pte_dirty() is
always 0 for s/390 because the dirty bit doesn't live in the pte.
Diffstat (limited to 'include/linux/byteorder')
0 files changed, 0 insertions, 0 deletions
