Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1551841 > unrolled thread
| Started by | David Laight <David.Laight@ACULAB.COM> |
|---|---|
| First post | 2017-01-05 11:00 +0100 |
| Last post | 2017-01-05 19:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
RE: [RFC 1/4] mm: remove unused TASK_SIZE_OF() David Laight <David.Laight@ACULAB.COM> - 2017-01-05 11:00 +0100
Re: [RFC 1/4] mm: remove unused TASK_SIZE_OF() Andy Lutomirski <luto@amacapital.net> - 2017-01-05 19:20 +0100
| From | David Laight <David.Laight@ACULAB.COM> |
|---|---|
| Date | 2017-01-05 11:00 +0100 |
| Subject | RE: [RFC 1/4] mm: remove unused TASK_SIZE_OF() |
| Message-ID | <sWd03-1dl-23@gated-at.bofh.it> |
From: Dmitry Safonov
> Sent: 30 December 2016 15:57
> All users of TASK_SIZE_OF(tsk) have migrated to mm->task_size or
> TASK_SIZE_MAX since:
> commit d696ca016d57 ("x86/fsgsbase/64: Use TASK_SIZE_MAX for
> FSBASE/GSBASE upper limits"),
> commit a06db751c321 ("pagemap: check permissions and capabilities at
> open time"),
...
> +#define TASK_SIZE (current->thread.task_size)
I'm not sure I like he hidden 'current' argument to an
apparent constant.
David
[toc] | [next] | [standalone]
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Date | 2017-01-05 19:20 +0100 |
| Message-ID | <sWkNP-6Cu-3@gated-at.bofh.it> |
| In reply to | #1551841 |
On Thu, Jan 5, 2017 at 1:51 AM, David Laight <David.Laight@aculab.com> wrote:
> From: Dmitry Safonov
>> Sent: 30 December 2016 15:57
>> All users of TASK_SIZE_OF(tsk) have migrated to mm->task_size or
>> TASK_SIZE_MAX since:
>> commit d696ca016d57 ("x86/fsgsbase/64: Use TASK_SIZE_MAX for
>> FSBASE/GSBASE upper limits"),
>> commit a06db751c321 ("pagemap: check permissions and capabilities at
>> open time"),
> ...
>> +#define TASK_SIZE (current->thread.task_size)
>
> I'm not sure I like he hidden 'current' argument to an
> apparent constant.
Me neither. But this patch is merely changing the implementation.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web