amd64: failed attempt at numa...

2018-07-28 Thread Maxime Villard
... but I'm posting the code in case someone cares. The idea was to duplicate the kernel .text and .rodata sections into each numa node. Also the page tree itself was partly duplicated. The goal was to speed up the instruction fetches and some parts of the VA->PA lookup: now that they were local

Re: workqueues ....

2018-07-28 Thread Mindaugas Rasiukevicius
Phil Nelson wrote: > On Thursday 26 July 2018 23:23:13 Taylor R Campbell wrote: > > static void > > foo_intr(...) > > { > > ... > > mutex_enter(&sc->sc_work_lock); > > if (!sc->sc_work_scheduled) { > > workqueue_enqueue(sc->sc_wq, &sc->sc_work, NULL); > >   

Re: workqueues ....

2018-07-28 Thread Phil Nelson
On Thursday 26 July 2018 23:23:13 Taylor R Campbell wrote: > static void > foo_intr(...) > { > ... > mutex_enter(&sc->sc_work_lock); > if (!sc->sc_work_scheduled) { > workqueue_enqueue(sc->sc_wq, &sc->sc_work, NULL); > sc->sc_work_scheduled =