Re: [PATCH 8/9] bcache: use the default discard granularity

2024-01-04 Thread Coly Li
On Thu, Dec 28, 2023 at 07:55:44AM +, Christoph Hellwig wrote: > The discard granularity now defaults to a single sector, so don't set > that value explicitly. > > Signed-off-by: Christoph Hellwig Acked-by: Coly Li Thanks. > --- > drivers/md/bcache/super.c | 1 - > 1 file changed, 1 dele

Re: [PATCH 0/2] um: improve UML page fault handling

2024-01-04 Thread Petr Tesařík
Helo Richard, Am Fri, 5 Jan 2024 00:22:11 +0100 (CET) schrieb Richard Weinberger : > - Ursprüngliche Mail - > > Von: "Petr Tesarik" > > An: "richard" , "anton ivanov" > > , "Johannes Berg" > > , "linux-um" , > > "linux-kernel" > > CC: "Roberto Sassu" , p...@tesarici.cz, > > "Petr Tes

Re: [PATCH v3 09/11] um: Rely on PTRACE_SETREGSET to set FS/GS base registers

2024-01-04 Thread Richard Weinberger
On Fri, Jan 5, 2024 at 12:05 AM Richard Weinberger wrote: > > Most of this logic was introduced in commit f39cf7845 ("[PATCH] uml: > > x86_64 thread fixes"). However, at least today we can rely on ptrace to > > Do you know since when exactly? I don't want to break UML in subtle ways > on old k

Re: [PATCH 0/2] um: improve UML page fault handling

2024-01-04 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Petr Tesarik" > An: "richard" , "anton ivanov" > , "Johannes Berg" > , "linux-um" , > "linux-kernel" > CC: "Roberto Sassu" , p...@tesarici.cz, "Petr > Tesarik" > > Gesendet: Freitag, 15. Dezember 2023 13:14:29 > Betreff: [PATCH 0/2] um: improve UML page

Re: [PATCH v3 09/11] um: Rely on PTRACE_SETREGSET to set FS/GS base registers

2024-01-04 Thread Richard Weinberger
On Fri, Nov 10, 2023 at 12:03 PM wrote: > > From: Benjamin Berg > > These registers are saved/restored together with the other general > registers using ptrace. In arch_set_tls we then just need to set the > register and it will be synced back normally. > > Most of this logic was introduced in co

Re: [PATCH v3 04/11] um: Don't use vfprintf() for os_info()

2024-01-04 Thread Richard Weinberger
On Fri, Nov 10, 2023 at 12:03 PM wrote: > > From: Benjamin Berg > > The threads allocated inside the kernel have only a single page of > stack. Unfortunately, the vfprintf function in standard glibc may use > too much stack-space, overflowing it. Another option is giving the helper threads more

Re: [PATCH] um: hostfs: catch EINTR and partial read/write

2024-01-04 Thread Richard Weinberger
On Fri, Nov 10, 2023 at 10:44 AM wrote: > > From: Benjamin Berg > > The UM kernel uses signals for various purposes (SIGALRM for scheduling > for example). These signals are interrupts for the UM kernel, which > should not affect file system operations from userspace processes. > > Said different

Re: [PATCH] um: vector: fix return value check in vector_legacy_rx

2024-01-04 Thread Richard Weinberger
On Fri, Oct 6, 2023 at 2:28 PM Ma Ke wrote: > > In vector_legacy_rx, to avoid an unexpected result returned by > pskb_trim, we should check the return value of pskb_trim(). > > Signed-off-by: Ma Ke > --- > arch/um/drivers/vector_kern.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >