tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using proplist ioctl's from within the kernel

On Fri, Mar 26, 2010 at 12:04 AM, Paul Goyette <> 
> On Thu, 25 Mar 2010, Matthias Drochner wrote:
>> said:
>>> There should be some way to serialize/deserialize prop/plistref
>>> objects Âwithin the kernel, but I never found a solution. I suppose
>>> you will have Âto dig deeper than I did :/
>> I think it should be avoided at all costs. With proplists, you give up
>> type
>> safety
>> and you create a lot of overhead. This is acceptable for kernel-user
>> interfaces
>> in some cases but not within the kernel.
> So would it be appropriate for me to expose sysmon_envsys's "global mutex"
> and its device list in order for acpi_apm to scan for battery sensors and
> A/C adapters?

This is wrong and should be avoided IMHO.




Home | Main Index | Thread Index | Old Index