Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2015 14:39:53 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        Mateusz Guzik <mjg@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r284215 - in head/sys: amd64/linux32 compat/linux compat/svr4 dev/drm2/i915 fs/fdescfs i386/ibcs2 i386/linux kern ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mthca sys vm
Message-ID:  <20150610123953.GB23380@dft-labs.eu>
In-Reply-To: <20150610151613.1176c1e3@nonamehost.local>
References:  <201506101048.t5AAmD1O029382@svn.freebsd.org> <20150610151613.1176c1e3@nonamehost.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 10, 2015 at 03:16:13PM +0300, Ivan Klymenko wrote:
> Wed, 10 Jun 2015 10:48:13 +0000 (UTC)
> Mateusz Guzik <mjg@FreeBSD.org> написав:
> 
> > Author: mjg
> > Date: Wed Jun 10 10:48:12 2015
> > New Revision: 284215
> > URL: https://svnweb.freebsd.org/changeset/base/284215
> > 
> > Log:
> >   Implement lockless resource limits.
> >   
> >   Use the same scheme implemented to manage credentials.
> >   
> >   Code needing to look at process's credentials (as opposed to
> > thred's) is provided with *_proc variants of relevant functions.
> >   
> >   Places which possibly had to take the proc lock anyway still use
> > the proc pointer to access limits.
> > 
> /usr/src/sys/modules/linux64/../../amd64/linux/linux_machdep.c:254:16: error: incompatible pointer types passing 'struct proc *' to parameter of type 'struct thread *' [-Werror,-Wincompatible-pointer-types]
>                             lim_cur(p, RLIMIT_STACK);
>                                     ^
> /usr/src/sys/sys/resourcevar.h:133:32: note: passing argument to parameter 'td' here
> rlim_t   lim_cur(struct thread *td, int which);
>                                 ^

Oops, thanks. Fixed in r284217.

-- 
Mateusz Guzik <mjguzik gmail.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150610123953.GB23380>