search for: poppl

Displaying 17 results from an estimated 17 matches for "poppl".

Did you mean: popl
2023 Mar 28
3
[PATCH] mm: Take a page reference when removing device exclusive entries
...This leads to warnings such as PAGE_FLAGS_CHECK_AT_FREE due to the page being locked when the refcount drops to zero. Note that during removal of the device exclusive entry the PTE is currently re-checked under the PTL so no futher bad page accesses occur once it is locked. Signed-off-by: Alistair Popple <apopple at nvidia.com> Fixes: b756a3b5e7ea ("mm: device exclusive memory access") Cc: stable at vger.kernel.org --- mm/memory.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index 8c8420934d60..b499bd283d8e 100644 ---...
2005 Oct 11
2
About echo CPU consuption
Hi, Jean, thanks for your source code example. I like ask info about cpu consuption, in our example enabling echo removing cause the sound poppling with a celeron 1.7Ghz (taskman show cpu full, without echo is at 30%). Does exist a mode to lower the cpu consuption in echo removing? Because a large part of users base own still "old" CPU of 6-7 generation, as from 500-700 Mhz and lower too. Perhaps the code need be optimized? Or c...
2023 Mar 30
4
[PATCH v2] mm: Take a page reference when removing device exclusive entries
...the PTL and aborts if the entry is no longer there. It is also possible the folio has been unmapped, freed and re-allocated allowing a reference to be taken on an unrelated folio. This case is also detected by the PTE check and the folio is unlocked without further changes. Signed-off-by: Alistair Popple <apopple at nvidia.com> Reviewed-by: Ralph Campbell <rcampbell at nvidia.com> Reviewed-by: John Hubbard <jhubbard at nvidia.com> Fixes: b756a3b5e7ea ("mm: device exclusive memory access") Cc: stable at vger.kernel.org --- Changes for v2: - Rebased to Linus master -...
2020 Oct 30
6
[PATCH 0/5] Improve Robust Channel (RC) recovery for Turing
...his series have been able to recover from while(1) style GPU loops and bad pointer dereferences on a Turing GPU. However if there are less trivial tests available that have been known to cause problems with channel recovery in the past let me know and I'll start testing those as well. Alistair Popple (5): drm/nouveau: Fix MMU fault interrupts on Turing drm/nouveau: Remove Turing interrupt hack drm/nouveau: Move Turing specific FIFO functions drm/nouveau: FIFO interrupt fixes for Turing drm/nouveau: Turing channel preemption fix .../gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | 46 +-...
2023 Mar 28
1
[PATCH] mm: Take a page reference when removing device exclusive entries
On 3/27/23 19:14, Alistair Popple wrote: > Device exclusive page table entries are used to prevent CPU access to > a page whilst it is being accessed from a device. Typically this is > used to implement atomic operations when the underlying bus does not > support atomic access. When a CPU thread encounters a device exc...
2023 Jan 24
0
[RFC PATCH 02/19] drivers/vhost: Convert to use vm_account
On Tue, Jan 24, 2023 at 04:42:31PM +1100, Alistair Popple wrote: > diff --git a/drivers/vhost/vdpa.c b/drivers/vhost/vdpa.c > index ec32f78..a31dd53 100644 > --- a/drivers/vhost/vdpa.c > +++ b/drivers/vhost/vdpa.c ... > @@ -780,6 +780,10 @@ static int vhost_vdpa_map(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, > u32 asid = iotlb...
2023 Mar 29
1
[PATCH] mm: Take a page reference when removing device exclusive entries
On Tue, Mar 28, 2023 at 01:14:34PM +1100, Alistair Popple wrote: > +++ b/mm/memory.c > @@ -3623,8 +3623,19 @@ static vm_fault_t remove_device_exclusive_entry(struct vm_fault *vmf) > struct vm_area_struct *vma = vmf->vma; > struct mmu_notifier_range range; > > - if (!folio_lock_or_retry(folio, vma->vm_mm, vmf->flags)) >...
2023 Mar 30
1
[PATCH] mm: Take a page reference when removing device exclusive entries
John Hubbard <jhubbard at nvidia.com> writes: > On 3/28/23 20:16, Matthew Wilcox wrote: > ... >>> + if (!get_page_unless_zero(vmf->page)) >>> + return 0; >> From a folio point of view: what the hell are you doing here? Tail >> pages don't have individual refcounts; all the refcounts are actually I had stuck with using the page because none of
2006 Feb 08
1
bcmxcp_usb driver with PW5110
Hi, I have got a Powerware 5110 UPS which has a usb interface on it. I have downloaded and compiled nut-2.0.3-pre2 with the usb drivers enabled on RedHat Enterprise V3 however I have been unable to get nut to connect to the UPS. I have tried executing the driver directly (using bcmxcp_usb -DD -u root /proc/bus/usb/002/002) as well as using upsdrvctl with the port set to auto (am I correct in
2024 Jan 24
1
[PATCH] mm: Remove double faults once write a device pfn
"Zhou, Xianrong" <Xianrong.Zhou at amd.com> writes: > [AMD Official Use Only - General] > >> >>>>> The vmf_insert_pfn_prot could cause unnecessary double faults on a >> >>>>> device pfn. Because currently the vmf_insert_pfn_prot does not >> >>>>> make the pfn writable so the pte entry is normally read-only or
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2013 May 07
0
[linux-linus test] 17916: regressions - FAIL
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2013 Jun 16
0
[linux-linus test] 18150: regressions - FAIL
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2013 Jun 23
0
[linux-linus test] 18181: regressions - trouble: broken/fail/pass
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2013 Aug 29
0
[linux-linus test] 18805: regressions - FAIL
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2013 Aug 29
0
[linux-linus test] 18844: regressions - FAIL
...e Ferrazzi <alice.ferrazzi@gmail.com> Alim Akhtar <alim.akhtar@samsung.com> Alina Friedrichsen <x-alina@gmx.net> Alison Chaiken <alison_chaiken@mentor.com> Alistair Buxton <a.j.buxton@gmail.com> Alistair John Strachan <alistair@devzero.co.uk> Alistair Popple <alistair@popple.id.au> Allan Stephens <allan.stephens@windriver.com> Allen Kay <allen.m.kay@intel.com> Allen Martin <amartin@nvidia.com> Allen Pais <allen.pais@oracle.com> Allison Henderson <achender@linux.vnet.ibm.com> Alok Chauhan <alokc@nvidia...
2023 Mar 30
0
[PATCH v2] mm: Take a page reference when removing device exclusive entries
Christoph Hellwig <hch at infradead.org> writes: > s/page/folio/ in the entire commit log? I debated that but settled on leaving it as is because device exclusive entries only deal with non-compound pages for now and didn't want to give any other impression. Happy to change that though if people think it would be better/clearer.