Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/powerpc/ibm4xx



On Mon Feb 07 2011 at 07:02:25 +0000, Matt Thomas wrote:
> Module Name:  src
> Committed By: matt
> Date:         Mon Feb  7 07:02:24 UTC 2011
> 
> Modified Files:
>       src/sys/arch/powerpc/ibm4xx: pmap.c
> 
> Log Message:
> Use EVCNT_ATTACH_STATIC

Can't we just:

1) Work toward getting of rid linkset interfaces instead of adding
   more uses?

OR
2) Define a holy set of linksets which must be processed whenever
   anything is loaded.
OR

3) Add some logic to the module build which will cause it to fail in
   case the module contains any known link sets.

(rough order of personal preference)

Now we have a bunch of stuff in a broken limbo and no way to verify it.
Yes, it's highly unlikely anyone will dynamically load the pmap, but
the availability of the interface will attract uses which are less benign.

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Home | Main Index | Thread Index | Old Index