Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 23:10:17 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        current@freebsd.org
Cc:        terry@lambert.org
Subject:   Re: PATCH to make maxfiles, maxfiles per proc boot-time tunable
Message-ID:  <200104262310.QAA29635@usr05.primenet.com>

next in thread | raw e-mail | index | archive | help
] The problem is that param.c is *not* included in gensetdefs scope.
] Therefore linker set entries (ie: SYSINIT etc) are not executed.  TUNABLE*
] entries in param.c are simply not called or used.
] 
] SYSTEM_OBJS= locore.o setdef0.o vnode_if.o ${OBJS} ioconf.o param.o config.o \
]         setdef1.o hack.So
] ...
] setdef0.c setdef1.c setdefs.h: ${OBJS}
]         @gensetdefs ${OBJS}
] 
] param.o is not included in ${OBJS}.  I dont see how this patch can work
] as-is.

Has this changed in -current?

I'm running on 4.3-RELEASE (now), and it has no problems.

Are you sure you aren't linking param.o into your kernel anywhere?

It's the linker that does the magic, not anything else (as you know);
I can assure you it's running fine on my 4.3 box.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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