Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
on 11/11/2010 21:37 Dimitry Andric said the following: > On 2010-11-11 20:29, Andriy Gapon wrote: >> Do I understand it correctly that set_pcpu section itself would not be >> produced if >> DPCPU_DEFINE() is not actually used? > > Yes, although currently this does not occur in any kernel module (I

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Dimitry Andric
On 2010-11-11 20:29, Andriy Gapon wrote: Do I understand it correctly that set_pcpu section itself would not be produced if DPCPU_DEFINE() is not actually used? Yes, although currently this does not occur in any kernel module (I tested using make universe). But indeed, if you would include e.

Re: svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Andriy Gapon
on 11/11/2010 21:18 Dimitry Andric said the following: > Author: dim > Date: Thu Nov 11 19:18:52 2010 > New Revision: 215138 > URL: http://svn.freebsd.org/changeset/base/215138 > > Log: > Use the same treatment as in linker_set.h for the __start and __stop > symbols of the set_vnet and set_pcp

svn commit: r215138 - in head/sys: net sys

2010-11-11 Thread Dimitry Andric
Author: dim Date: Thu Nov 11 19:18:52 2010 New Revision: 215138 URL: http://svn.freebsd.org/changeset/base/215138 Log: Use the same treatment as in linker_set.h for the __start and __stop symbols of the set_vnet and set_pcpu sections, so those symbols will always be emitted in kernel modules