mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <k.shutemov@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Mike Frysinger <vapier.adi@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/4] Unexport several headers and cleanup
Date: Tue, 30 Oct 2007 15:50:38 +0200	[thread overview]
Message-ID: <20071030135038.GA2429@localhost.localdomain> (raw)
In-Reply-To: <1193748457.2915.163.camel@shinybook.infradead.org>

[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]

On [Tue, 30.10.2007 08:47], David Woodhouse wrote:
> On Tue, 2007-10-30 at 13:02 +0200, Kirill A. Shutemov wrote:
> > This series of patches unexport several unneeded(I guess) headers from 
> > userspace. Patches based on patch posted to linux-kernel@ by Mike Frysinger
> > in July.
> 
> Looks OK to me, in general. How much userspace have you tested building
> with this? Does it include stuff like gdb?

I have rebuilt gdb-6.6 on x86_64. Ok.

Also, it fix building directfb on ARM. ;)
 
> Not that I necessarily care about the answer in the normal way -- it's
> just that if userspace will need to adapt, I'd like to get them moving
> ASAP. One option for easing that might be to export stuff like page.h
> but _empty_.

It's bad idea. Taken from directfb:

#if HAVE_ASM_PAGE_H
#include <asm/page.h>
#else
#define PAGE_SIZE   sysconf( _SC_PAGESIZE )
#endif

Other application can use something like this. I think we should drop
empty headers.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + Velesys LLC, http://www.velesys.com/
 + ALT Linux Team, http://www.altlinux.com/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-10-30 13:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-30 11:02 Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 1/4] Unexport asm/page.h Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 2/4] Unexport asm/elf.h Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 3/4] Unexport asm/user.h and linux/user.h Kirill A. Shutemov
2007-10-30 11:02 ` [PATCH 4/4] Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed Kirill A. Shutemov
2007-10-30 23:50   ` Mike Frysinger
2007-10-30 12:47 ` [PATCH 0/4] Unexport several headers and cleanup David Woodhouse
2007-10-30 13:50   ` Kirill A. Shutemov [this message]
2007-10-30 14:25     ` David Woodhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071030135038.GA2429@localhost.localdomain \
    --to=k.shutemov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=vapier.adi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®