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 <paul%whooppee.com@localhost>
wrote:
> On Thu, 25 Mar 2010, Matthias Drochner wrote:
>
>>
>> jeanyves.migeon%free.fr@localhost 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.
--
Regards.
Adam
Home |
Main Index |
Thread Index |
Old Index