> I think it's missing maybe some kind of lock when allocate|deallocate
> hugepages.
> It should work like locks for storage when create|delete disk

I don't think we need a cluster wide lock. Just use a local lock file.

> >>I also wonder if we can split the code into a separate file, because 
> >>the file PVE/QemuServer.pm is already quite large? 
> 
> I agree that qemuserver is quite large ;)
> 
> PVE::QemuServer::Hugepages  ?

OK for me. Or is there more memory related code? If so, we could use
PVE::QemuServer::Memory?

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to