On Fri, 2023-09-22 at 10:43 +0200, Johannes Berg wrote:
> > 
> > I think this has pretty much always been wrong, just now we actually
> > notice it?
> > 
> > Basically, when we create a new thread (really just mm I think), we say
> > the first thing that has to run there is fork_handler(), which
> > initialises things the first time around. This calls force_flush_all()
> > 

So I thought we could perhaps just force_flush_all() the new mm in
init_new_context(), but that segfaults userspace immediately.

So I need to fully understand first (again?) why we even need
force_flush_all() at this spot, but probably not today.

johannes

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

Reply via email to