Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Mark Kettenis
> Date: Mon, 19 Nov 2012 19:36:48 +0200 > From: Paul Irofti > > New diff: > - makes the diff an actual building block. unlike the first one. > - moves defines to an MI header ok kettenis@ > Index: arch/amd64/amd64/acpi_machdep.c >

Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Paul Irofti
On Mon, Nov 19, 2012 at 07:41:25PM +0200, Paul Irofti wrote: > On Mon, Nov 19, 2012 at 10:38:52AM -0700, Theo de Raadt wrote: > > > +int > > > +acpi_acquire_global_lock(uint32_t *lock) > > ... > > > #define acpi_acquire_global_lock(x) 1 > > > > That is not a nice thing to do. > > I agree. This w

Add ATI Radeon HD 7850 to pcidevs

2012-11-19 Thread Thomas Pfaff
Add ATI Radeon HD 7850 to pcidevs. I was unable to find product 0x6819 anywhere (lists mentioned in pcidevs and Linux pci.ids) but I'm pretty sure it's correct ... Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrievin

Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Paul Irofti
On Mon, Nov 19, 2012 at 10:38:52AM -0700, Theo de Raadt wrote: > > +int > > +acpi_acquire_global_lock(uint32_t *lock) > ... > > #define acpi_acquire_global_lock(x) 1 > > That is not a nice thing to do. I agree. This was there before though.

Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Theo de Raadt
> +int > +acpi_acquire_global_lock(uint32_t *lock) ... > #define acpi_acquire_global_lock(x) 1 That is not a nice thing to do.

Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Paul Irofti
New diff: - makes the diff an actual building block. unlike the first one. - moves defines to an MI header Index: arch/amd64/amd64/acpi_machdep.c === RCS file: /cvs/src/sys/arch/amd64/amd64/acpi_machdep.c,v retrieving

Re: acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Mark Kettenis
> Date: Mon, 19 Nov 2012 18:57:03 +0200 > From: Paul Irofti > > Now that the atomic ops are in, I'd like to commit the first building > block for acpi global lock support. > > Index: arch/amd64/amd64/acpi_machdep.c > === > RCS file:

acpi global lock -- acpi_{acquire|release}_global_lock()

2012-11-19 Thread Paul Irofti
Now that the atomic ops are in, I'd like to commit the first building block for acpi global lock support. Index: arch/amd64/amd64/acpi_machdep.c === RCS file: /cvs/src/sys/arch/amd64/amd64/acpi_machdep.c,v retrieving revision 1.51 dif

Re: [PATCH] mlockall() problem in OpenBSD 5.2

2012-11-19 Thread Ilya Bakulin
Hi Mark, could you please also review my patch? It fixes a problem, which is not related to RLIMIT thing described by mickey. On Thursday 08 November 2012 14:30:07 Mark Kettenis wrote: > > Date: Thu, 8 Nov 2012 13:08:24 + > > From: Stuart Henderson > > > > Oh talking of RLIMIT reminds me...ca