On Friday 29 April 2016 14:09:23, Mark Kettenis wrote:
> I think we should simply continue the current practice of not using
> static in the kernel. I mean, what is the benefit of abandoning
> that practice if you disable the optimizations that compiler would
> make anyway?
You get a clear separa
> Date: Fri, 29 Apr 2016 13:41:00 +0200
> From: Martin Pieuchot
>
> On 28/04/16(Thu) 14:49, Mark Kettenis wrote:
> > > Date: Thu, 28 Apr 2016 13:50:53 +0200
> > > From: Martin Pieuchot
> > >
> > > The reason why we do not use 'static' in the kernel is no longer valid
> > > since all our platfor
On 28/04/16(Thu) 14:49, Mark Kettenis wrote:
> > Date: Thu, 28 Apr 2016 13:50:53 +0200
> > From: Martin Pieuchot
> >
> > The reason why we do not use 'static' in the kernel is no longer valid
> > since all our platforms are ELF. ddb(4) handle them just fine.
> >
> > Here's an example after sett
On Fri, Apr 29, 2016 at 08:54:51AM +0200, Otto Moerbeek wrote:
> On Fri, Apr 29, 2016 at 04:43:56PM +1000, David Gwynne wrote:
>
> >
> > > On 28 Apr 2016, at 22:49, Mark Kettenis wrote:
> > >
> > >> Date: Thu, 28 Apr 2016 13:50:53 +0200
> > >> From: Martin Pieuchot
> > >>
> > >> The reason w
On Fri, Apr 29, 2016 at 04:43:56PM +1000, David Gwynne wrote:
>
> > On 28 Apr 2016, at 22:49, Mark Kettenis wrote:
> >
> >> Date: Thu, 28 Apr 2016 13:50:53 +0200
> >> From: Martin Pieuchot
> >>
> >> The reason why we do not use 'static' in the kernel is no longer valid
> >> since all our platf
On Fri, Apr 29, 2016 at 04:43:56PM +1000, David Gwynne wrote:
>
> > On 28 Apr 2016, at 22:49, Mark Kettenis wrote:
> >
> >> Date: Thu, 28 Apr 2016 13:50:53 +0200
> >> From: Martin Pieuchot
> >>
> >> The reason why we do not use 'static' in the kernel is no longer valid
> >> since all our plat
> On 28 Apr 2016, at 22:49, Mark Kettenis wrote:
>
>> Date: Thu, 28 Apr 2016 13:50:53 +0200
>> From: Martin Pieuchot
>>
>> The reason why we do not use 'static' in the kernel is no longer valid
>> since all our platforms are ELF. ddb(4) handle them just fine.
>>
>> Here's an example after se
> Date: Thu, 28 Apr 2016 13:50:53 +0200
> From: Martin Pieuchot
>
> The reason why we do not use 'static' in the kernel is no longer valid
> since all our platforms are ELF. ddb(4) handle them just fine.
>
> Here's an example after setting 'static' in the uhci(4) driver:
>
> $ nm /bsd |g
The reason why we do not use 'static' in the kernel is no longer valid
since all our platforms are ELF. ddb(4) handle them just fine.
Here's an example after setting 'static' in the uhci(4) driver:
$ nm /bsd |grep uhci_poll_hub
81107080 t uhci_poll_hub
$