lkml.org 
[lkml]   [2013]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] module, async: async_synchronize_full() on module init iff async is used

    > As Arjan suggested, trying to load the default modules right after the
    > initial rootfs mount could be an acceptable compromise and it would be
    > really nice (for both code sanity and avoiding future problems) to be
    > able to declare module loading nested inside async unspported.

    we can even try twice

    the first time right after we mount the initramfs
    the second time when the initramfs code exits, and before we exec init
    (the initramfs supposedly mounted the real root fs at this point)

    if you want your elevator to apply to your root filesystem storage, the rule
    will then be "put the module in the initramfs"... but to be honest,
    that's not a restriction that is unreasonable or unexpected.


    for doing a module loading from inside an async handler..we can then just make
    use of the normal "load this module async" way of requesting a module.



    \
     
     \ /
      Last update: 2013-01-16 18:44    [W:2.395 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site