Re: [PATCH v3 1/2] timer: make deferrable cpu unbound timers really not bound to a cpu

From: Thomas Gleixner
Date: Wed May 13 2020 - 17:34:22 EST


Prasad,

psodagud@xxxxxxxxxxxxxx writes:
> On 2020-05-13 13:28, Thomas Gleixner wrote:
>> psodagud@xxxxxxxxxxxxxx writes:
>>> It is not clear to me how to avoid #ifdef's in this case. Could you
>>> please share an example here?
>>
>> The answer is further down already:
>
> I think, you are referring stub functions. Yes. I can reduce some of the
> #ifdefs with stub functions as you mentioned and not all the cases
> right?
> I have introduced two variables timer_base_deferrable and
> deferrable_pending and I can put stub function where ever is possible.
> But it may not be appropriate to have stub function for all the
> references of these variables right? Correct me if my understanding is
> wrong.

Is this a quiz or are you expecting me to make your homework?

Thanks,

Thomas