Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed.

2015-01-13 Thread Helge Deller
On 08.01.2015 01:58, Rusty Russell wrote: Archs have been abusing module_free() to clean up their arch-specific allocations. Since module_free() is also (ab)used by BPF and trace code, let's keep it to simple allocations, and provide a hook called before that. This means that avr32, ia64,

Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module-module_init freed.

2015-01-13 Thread Helge Deller
On 08.01.2015 01:58, Rusty Russell wrote: Archs have been abusing module_free() to clean up their arch-specific allocations. Since module_free() is also (ab)used by BPF and trace code, let's keep it to simple allocations, and provide a hook called before that. This means that avr32, ia64,

Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed.

2015-01-07 Thread Hans-Christian Egtvedt
Around Thu 08 Jan 2015 11:28:05 +1030 or thereabout, Rusty Russell wrote: > Archs have been abusing module_free() to clean up their arch-specific > allocations. Since module_free() is also (ab)used by BPF and trace code, > let's keep it to simple allocations, and provide a hook called before >

[PATCH 1/3] module_arch_freeing_init(): new hook for archs before module->module_init freed.

2015-01-07 Thread Rusty Russell
Archs have been abusing module_free() to clean up their arch-specific allocations. Since module_free() is also (ab)used by BPF and trace code, let's keep it to simple allocations, and provide a hook called before that. This means that avr32, ia64, parisc and s390 no longer need to implement

Re: [PATCH 1/3] module_arch_freeing_init(): new hook for archs before module-module_init freed.

2015-01-07 Thread Hans-Christian Egtvedt
Around Thu 08 Jan 2015 11:28:05 +1030 or thereabout, Rusty Russell wrote: Archs have been abusing module_free() to clean up their arch-specific allocations. Since module_free() is also (ab)used by BPF and trace code, let's keep it to simple allocations, and provide a hook called before that.

[PATCH 1/3] module_arch_freeing_init(): new hook for archs before module-module_init freed.

2015-01-07 Thread Rusty Russell
Archs have been abusing module_free() to clean up their arch-specific allocations. Since module_free() is also (ab)used by BPF and trace code, let's keep it to simple allocations, and provide a hook called before that. This means that avr32, ia64, parisc and s390 no longer need to implement