Re: [PATCH v2 00/17] mm: fixes for device-exclusive entries (hmm)

2025-02-10 Thread Barry Song
On Tue, Feb 11, 2025 at 12:05 PM Andrew Morton wrote: > > On Mon, 10 Feb 2025 20:37:42 +0100 David Hildenbrand wrote: > > > Against mm-hotfixes-stable for now. > > > > Discussing the PageTail() call in make_device_exclusive_range() with > > Willy, I recently discovered [1] that device-exclusive h

Re: [PATCH 00/12] Enable build system on macOS hosts

2024-08-16 Thread Barry Song
On Thu, Aug 8, 2024 at 2:20 AM Greg Kroah-Hartman wrote: > > On Wed, Aug 07, 2024 at 01:56:38PM +, Daniel Gomez wrote: > > On Wed, Aug 07, 2024 at 01:01:08PM GMT, Greg Kroah-Hartman wrote: > > > On Wed, Aug 07, 2024 at 01:09:14AM +0200, Daniel Gomez via B4 Relay wrote: > > > > This patch set a

[PATCH] dma-buf/heaps: Correct the types of fd_flags and heap_flags

2024-06-05 Thread Barry Song
From: Barry Song dma_heap_allocation_data defines the UAPI as follows: struct dma_heap_allocation_data { __u64 len; __u32 fd; __u32 fd_flags; __u64 heap_flags; }; But dma heaps are casting both fd_flags and heap_flags into unsigned long. This patch makes dma

[PATCH v2] dma-buf: align fd_flags and heap_flags with dma_heap_allocation_data

2024-06-04 Thread Barry Song
From: Barry Song dma_heap_allocation_data defines the UAPI as follows: struct dma_heap_allocation_data { __u64 len; __u32 fd; __u32 fd_flags; __u64 heap_flags; }; However, dma_heap_buffer_alloc() casts both fd_flags and heap_flags into unsigned int. We&#x

[RFC PATCH] dma-buf: align fd_flags and heap_flags with dma_heap_allocation_data

2024-05-22 Thread Barry Song
From: Barry Song dma_heap_allocation_data defines the UAPI as follows: struct dma_heap_allocation_data { __u64 len; __u32 fd; __u32 fd_flags; __u64 heap_flags; }; However, dma_heap_buffer_alloc() casts them into unsigned int. It's unclear whether th

Re: [RFC 1/8] sched: Add nice value change notifier

2021-10-07 Thread Barry Song
On Thu, Oct 7, 2021 at 10:09 PM Tvrtko Ursulin wrote: > > > On 07/10/2021 09:50, Tvrtko Ursulin wrote: > > > > On 06/10/2021 21:21, Barry Song wrote: > >> On Thu, Oct 7, 2021 at 2:44 AM Tvrtko Ursulin > >> wrote: > >>> > >>> > &g

Re: [RFC 1/8] sched: Add nice value change notifier

2021-10-07 Thread Barry Song
On Thu, Oct 7, 2021 at 2:44 AM Tvrtko Ursulin wrote: > > > Hi, > > On 06/10/2021 08:58, Barry Song wrote: > > On Wed, Oct 6, 2021 at 5:15 PM Wanghui (John) > > wrote: > >> > >> HI Tvrtko > >> > >> On 2021/10/4 22:36, Tvrtko Ursulin

Re: [RFC 1/8] sched: Add nice value change notifier

2021-10-06 Thread Barry Song
On Wed, Oct 6, 2021 at 5:15 PM Wanghui (John) wrote: > > HI Tvrtko > > On 2021/10/4 22:36, Tvrtko Ursulin wrote: > > void set_user_nice(struct task_struct *p, long nice) > > { > > bool queued, running; > > - int old_prio; > > + int old_prio, ret; > > struct rq_flags rf; > >

RE: [Linuxarm] [PATCH v1] drm/nouveau/device: append a NUL-terminated character for the string which filled by strncpy()

2021-02-25 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Luo Jiaxing [mailto:luojiax...@huawei.com] > Sent: Friday, February 26, 2021 12:39 AM > To: nouv...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; > bske...@redhat.com > Cc: linux-ker...@vger.kernel.org; linux...@openeuler.org; luojiaxing > > Subject