Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbWHKEOE (ORCPT ); Fri, 11 Aug 2006 00:14:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751175AbWHKEOE (ORCPT ); Fri, 11 Aug 2006 00:14:04 -0400 Received: from flute.cs.nchu.edu.tw ([140.120.13.3]:35265 "EHLO flute.cs.nchu.edu.tw") by vger.kernel.org with ESMTP id S1751157AbWHKEN6 (ORCPT ); Fri, 11 Aug 2006 00:13:58 -0400 From: "Hsung-Pin Chang" To: Subject: Upcall implementation in Linux Date: Fri, 11 Aug 2006 12:13:41 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Aca8/IcYD0UTQebORTaoqwQLiP9OEA== Message-Id: <20060811041650.A0C2C3993@flute.cs.nchu.edu.tw> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 22 Dear all, Recently, I need to use upcalls in Linux to actively and promptly inform the user applications once an kernel event is occurred. However, I have some questions about upcall implementation. First, the user handler must be "pinned" into memory to prevent paging out. However, would anyone tell me how to achieve this? Second, is there any refernece to upcall implementation for me to begin? Thanks very much. Hsung-Pin Chang - 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/