Lars Gullik Bjønnes wrote:
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > I wonder whether it might be better style to pass bufferlist as
| > argument
| > to the function instead of accessing a singleton.
|
| Agreed. Next step.
I am not sure that I agree. A singleton is special... there is only
one, not the case is not similar to current_view at all. So I am not
sure that the best option is to pass it as an arg instead of just
accessing it.
The best option is to remove the need for (non const) access to this
BufferList. I think Buffer creation/deletion should be done by the
frontend not the kernel. The kernel could ask for a new buffer via a
signal for example. I have just described of course my ideal world but
there's some way to go before that...
Abdel.