lkml.org 
[lkml]   [2015]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/1] suspend: delete sys_sync()
    From
    Date
    On Thu, 2015-07-09 at 00:03 +0200, Rafael J. Wysocki wrote:

    > Nothing and I'm not discussing that (I've said that already at least once in
    > this thread).
    >
    > What I'm questioning is the "why" of calling sys_sync() from the kernel.

    That's strictly speaking two questions

    1. Why do it in the kernel

    That is easy. It closes the window of a race condition.

    2. Why do it at all

    In essence because the system becomes inactive. For example we say that
    data hits the disk after 30s maximum. We cannot meet such a limit unless
    we sync.
    There are additional issues, such as a system appearing inactive during
    suspension and frankly the far greater likelihood of a crash.

    Regards
    Oliver




    \
     
     \ /
      Last update: 2015-07-09 10:01    [W:2.131 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site