lkml.org 
[lkml]   [2021]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [RFC PATCH 1/4] stop_machine: Move cpu_stop_done into stop_machine.h
    Date
    On 04/11/21 14:57, Yafang Shao wrote:
    > Move struct cpu_stop_done into the stop_machine.h, then it can be resued
    > by the functions outside of stop_maichine.c.
    >

    The nr_todo & ret faff is only required for multi_stop scenarios, which
    isn't your use-case. AFAICT you don't need to export this, you just need a
    struct completion somewhere (and maybe a ret, but I'm not even sure about
    that).

    \
     
     \ /
      Last update: 2021-11-05 18:01    [W:5.175 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site