login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
19
Re: [PATCH] [RFCv2] notify userspace about time changes
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH] [RFCv2] notify userspace about time changes
Date: Wednesday, August 18, 2010 - 9:39 pm
On Wed, 18 Aug 2010 21:09:37 -0700 Greg KH <gregkh@suse.de> wrote:
quoted text
> On Wed, Aug 18, 2010 at 04:53:03PM -0700, Andrew Morton wrote: > > Is sysfs the right interface for this thing? Bear in mind that > > CONFIG_SYSFS does exist. > > > > > + fd = open("/sys/kernel/time_notify", O_WRONLY); > > > + fdprintf(fd, "%d 1 0 1 1", efd); > > > > why not > > > > sys_time_notify(efd, 1, 0, 1, 1); > > Yeah, that would be much better than a sysfs file, this is abusing the > sysfs interface quite a lot. >
(time_change_notify would be a better syscall name). --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Wed Aug 18, 6:55 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Wed Aug 18, 7:26 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 3:57 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, john stultz
, (Wed Aug 18, 4:09 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, H. Peter Anvin
, (Wed Aug 18, 4:43 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Chris Friesen
, (Wed Aug 18, 4:50 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 4:53 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Wed Aug 18, 9:09 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Andrew Morton
, (Wed Aug 18, 9:39 pm)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Thu Aug 19, 1:21 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kirill A. Shutemov
, (Thu Aug 19, 1:36 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kay Sievers
, (Thu Aug 19, 1:39 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Peter Zijlstra
, (Thu Aug 19, 2:50 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kay Sievers
, (Thu Aug 19, 3:53 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Thu Aug 19, 4:14 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Thu Aug 19, 8:31 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Kirill A. Shutemov
, (Fri Aug 20, 1:37 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Greg KH
, (Fri Aug 20, 8:33 am)
Re: [PATCH] [RFCv2] notify userspace about time changes
, Alexander Shishkin
, (Fri Aug 20, 8:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Michael S. Tsirkin
[PATCH 3/3] vhost: fix get_user_pages_fast error handling
Randy Macleod
RFC: TIPC API, bind to two networks
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate