Re: [PATCH 3/6] syscall.h: introduce syscall_set_nr()

2025-01-09 Thread Sven Schnelle
"Dmitry V. Levin" writes: > Similar to syscall_set_arguments() that complements > syscall_get_arguments(), introduce syscall_set_nr() > that complements syscall_get_nr(). > > syscall_set_nr() is going to be needed along with > syscall_set_arguments() on all HAVE_ARCH_TRACEHOOK > architectures to

Re: [PATCH] hostfs: Convert to writepages

2025-01-09 Thread Matthew Wilcox
On Fri, Dec 20, 2024 at 05:14:58AM +, Matthew Wilcox (Oracle) wrote: > If we add a migrate_folio operation, we can convert the writepage > operation to writepages. The large folio support here is illusory; > we would need to kmap each page in turn for proper support. But we do > remove a few

Re: [PATCH 0/6] ptrace: introduce PTRACE_SET_SYSCALL_INFO API

2025-01-09 Thread H. Peter Anvin
This would seem like a very good idea. However, it is perhaps important to realize that it doesn't fully eliminate the problems with 64-bit arguments on 32-bit ABIs being handled differently (never mind inconsistencies in system call ABIs etc.) There isn't all that much that can be done about t