Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932376Ab0FITvD (ORCPT ); Wed, 9 Jun 2010 15:51:03 -0400 Received: from mail-yw0-f204.google.com ([209.85.211.204]:48778 "EHLO mail-yw0-f204.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757220Ab0FITvA (ORCPT ); Wed, 9 Jun 2010 15:51:00 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=io2xDb9HgVe95xg5t0xZy+4tZO81VjZ2NNLPns1Lbq2MD9aD4cX8OqwbIDwzWcJz8G f4GrU5Wh492EqxT/TRMQTdeXpw9q6cno2gndYaLAvILvtgT6sohgeufiGXPzTRiQ+5ja kctmnt/ZixdiQLgN+C7bp7bb+Tn0F8e+NgmPU= MIME-Version: 1.0 From: Suresh Rajashekara Date: Wed, 9 Jun 2010 12:50:39 -0700 X-Google-Sender-Auth: C5YOPzsrcYto0SO3xDGybGXhKQo Message-ID: Subject: Timekeeping issue on aggressive suspend/resume To: linux-omap@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 26 I have an application (running on 2.6.29-omap1) which puts an OMAP1 system to suspend aggressively. The system wakes up every 4 seconds and stays awake for about 35 milliseconds and sleeps again for another 4 seconds. This design is to save power on a battery operated device. This aggressive suspend resume action seems like creating an issue to other applications in the system waiting for some timeout to happen (especially an application which is waiting using the mq_timedreceive and is supposed to timeout every 30 seconds. It seems to wake up every 90 seconds). Seems like the timekeeping is not happening properly in side the kernel. If the suspend duration is changed from 4 second to 1 second, then things work somewhat better. On reducing it to 0.5 second (which was our earlier design on 2.6.16-rc3), the problem seems to disappear. Is this expected? Thanks in advance, Suresh -- 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/