lkml.org 
[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PAG support only
On Wed, May 14, 2003 at 09:17:43AM +0100, David Howells wrote:
> > - and even a wrong one..
>
> I disagree, but no matter.

It's not a matter of your (or my) personal opinion of coding style. Linux
is a big project and it's only maintainable if everyone sticks to a slightly
similar style.


> > > +static kmem_cache_t *vfs_token_cache;
> > > +static kmem_cache_t *vfs_pag_cache;
> >
> > How many of those will be around for a typical AFS client? I have the vague
> > feeling the slabs are overkill..
>
> And then there's the people who said I shouldn't use kmalloc but should create
> a slab instead...

That's why I ask how much it is used. Could you answer the question maybe?

>
> > > + if (pag>0) {
> > > + /* join existing PAG */
> > > + if (tsk->vfspag->pag &&
> > > + tsk->vfspag->pag==pag)
> > > + return pag;
> >
> > Please try to get your code in conformance with Documentation/CodingStyle.
>
> You are suggesting what changes exactly?

spaces between operators to start with. It's not that difficult to read the
above document and other core kernel code, though.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.061 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site