Re: [Intel-gfx] [PATCH v5 0/7] Introduce __xchg, non-atomic xchg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Andrzej Hajda <andrzej.hajda@xxxxxxxxx>
- Subject: Re: [Intel-gfx] [PATCH v5 0/7] Introduce __xchg, non-atomic xchg
- From: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx>
- Date: Fri, 05 Apr 2024 17:47:56 +0300
- Cc: Mark Rutland <mark.rutland@xxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, dri-devel@xxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-riscv@xxxxxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-snps-arc@xxxxxxxxxxxxxxxxxxx, intel-gfx@xxxxxxxxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, Arnd Bergmann <arnd@xxxxxxxx>, Boqun Feng <boqun.feng@xxxxxxxxx>, linux-m68k@xxxxxxxxxxxxxxx, openrisc@xxxxxxxxxxxxxxxxxxxx, loongarch@xxxxxxxxxxxxxxx, Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linuxppc-dev@xxxxxxxxxxxxxxxx
- In-reply-to: <Y/y0/VoPAVCXGKp3@hirez.programming.kicks-ass.net>
- Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
- References: <20230118153529.57695-1-andrzej.hajda@intel.com> <Y/ZLH5F8LA3H10aL@hirez.programming.kicks-ass.net> <17f40b7c-f98d-789d-fa19-12ec077b756a@intel.com> <Y/y0/VoPAVCXGKp3@hirez.programming.kicks-ass.net>
On Mon, 27 Feb 2023, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Thu, Feb 23, 2023 at 10:24:19PM +0100, Andrzej Hajda wrote:
>> On 22.02.2023 18:04, Peter Zijlstra wrote:
>> > On Wed, Jan 18, 2023 at 04:35:22PM +0100, Andrzej Hajda wrote:
>> >
>> > > Andrzej Hajda (7):
>> > > arch: rename all internal names __xchg to __arch_xchg
>> > > linux/include: add non-atomic version of xchg
>> > > arch/*/uprobes: simplify arch_uretprobe_hijack_return_addr
>> > > llist: simplify __llist_del_all
>> > > io_uring: use __xchg if possible
>> > > qed: use __xchg if possible
>> > > drm/i915/gt: use __xchg instead of internal helper
>> >
>> > Nothing crazy in here I suppose, I somewhat wonder why you went through
>> > the trouble, but meh.
>>
>> If you are asking why I have proposed this patchset, then the answer is
>> simple, 1st I've tried to find a way to move internal i915 helper to core
>> (see patch 7).
>> Then I was looking for possible other users of this helper. And apparently
>> there are many of them, patches 3-7 shows some.
>>
>>
>> >
>> > You want me to take this through te locking tree (for the next cycle,
>> > not this one) where I normally take atomic things or does someone else
>> > want this?
>>
>> If you could take it I will be happy.
>
> OK, I'll go queue it in tip/locking/core after -rc1. Thanks!
Is this where the series fell between the cracks, or was there some
follow-up that I missed?
I think this would still be useful. Andrzej, would you mind rebasing and
resending if there are no objections?
BR,
Jani.
--
Jani Nikula, Intel
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]