RE: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-23 Thread Song Bao Hua (Barry Song)
@ideasonboard.com; cor...@lwn.net; linux-...@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org; linux...@openeuler.org > > Subject: Re: [PATCH] scripts/gdb: document lx_current is only supported by > x86 > > > > On 22.02.21 22:18, Song Bao Hua (Barry Song) wrote: > &

RE: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-23 Thread Song Bao Hua (Barry Song)
x...@openeuler.org > Subject: Re: [PATCH] scripts/gdb: document lx_current is only supported by x86 > > On 22.02.21 22:18, Song Bao Hua (Barry Song) wrote: > > > > > >> -Original Message- > >> From: Kieran Bingham [mailto:kieran.bing...@ideason

Re: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-22 Thread Jan Kiszka
; linux-...@vger.kernel.org; jan.kis...@siemens.com >> Cc: linux-kernel@vger.kernel.org; linux...@openeuler.org >> Subject: Re: [PATCH] scripts/gdb: document lx_current is only supported by >> x86 >> >> Hi Barry >> >> On 21/02/2021 21:35, Barry Song wrote: >>>

RE: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-22 Thread Song Bao Hua (Barry Song)
.kernel.org; linux...@openeuler.org > Subject: Re: [PATCH] scripts/gdb: document lx_current is only supported by x86 > > Hi Barry > > On 21/02/2021 21:35, Barry Song wrote: > > lx_current depends on the per_cpu current_task which exists on x86 only: > > > > arch$ git grep

Re: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-22 Thread Kieran Bingham
Hi Barry On 21/02/2021 21:35, Barry Song wrote: > lx_current depends on the per_cpu current_task which exists on x86 only: > > arch$ git grep current_task | grep -i per_cpu > x86/include/asm/current.h:DECLARE_PER_CPU(struct task_struct *, current_task); >

[PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-21 Thread Barry Song
lx_current depends on the per_cpu current_task which exists on x86 only: arch$ git grep current_task | grep -i per_cpu x86/include/asm/current.h:DECLARE_PER_CPU(struct task_struct *, current_task); x86/kernel/cpu/common.c:DEFINE_PER_CPU(struct task_struct *, current_task) cacheline_aligned =