[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180209025520.GA3423@jagdpanzerIV>
Date: Fri, 9 Feb 2018 11:55:20 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Mike Rapoport <rppt@...ux.vnet.ibm.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Minchan Kim <minchan@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: Re: [PATCH 1/2] zsmalloc: introduce zs_huge_object() function
On (02/08/18 18:30), Mike Rapoport wrote:
[..]
> >
> > +/*
> > + * Check if the object's size falls into huge_class area. We must take
> > + * ZS_HANDLE_SIZE into account and test the actual size we are going to
> > + * use up. zs_malloc() unconditionally adds handle size before it performs
> > + * size_class lookup, so we may endup in a huge class yet zs_huge_object()
> > + * returned 'false'.
> > + */
>
> Can you please reformat this comment as kernel-doc?
Is this - Documentation/doc-guide/kernel-doc.rst - the right thing
to use as a reference?
-ss
Powered by blists - more mailing lists