[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using emap for i386/amd64 early during boot
Jean-Yves Migeon <jeanyves.migeon%free.fr@localhost> wrote:
> As I have yet to understand the inner workings of emap, I'd like to know
> if it is possible to wrap i386_cpu_switch_pmap() around uvm_emap
> functions, like this:
> u_int gen = uvm_emap_gen_return();
Sure. Both calls just get/update the generation numbers (see uvm_emap.c).
However, there are some thoughts to revisit current UVM emap, so I would
suggest you to not spend much time on this (i.e. you can just skip these
calls around TLB flushes for now).
Main Index |
Thread Index |